refactor: use cookie instead of local storage for share token
This commit is contained in:
@@ -278,7 +278,7 @@ export class ShareService {
|
||||
|
||||
const token = await this.generateShareToken(shareId);
|
||||
await this.increaseViewCount(share);
|
||||
return { token };
|
||||
return token;
|
||||
}
|
||||
|
||||
async generateShareToken(shareId: string) {
|
||||
|
||||
Reference in New Issue
Block a user