fully added reader view support
This commit is contained in:
@@ -85,8 +85,6 @@ export default async function archive(
|
||||
filePath: `archives/${targetLink.collectionId}/${linkId}_readability.json`,
|
||||
});
|
||||
|
||||
console.log(JSON.parse(JSON.stringify(article)));
|
||||
|
||||
// Screenshot/PDF
|
||||
|
||||
let faulty = true;
|
||||
|
||||
@@ -16,7 +16,7 @@ export default async function getLinkById(userId: number, linkId: number) {
|
||||
| null;
|
||||
|
||||
const memberHasAccess = collectionIsAccessible?.members.some(
|
||||
(e: UsersAndCollections) => e.userId === userId && e.canUpdate
|
||||
(e: UsersAndCollections) => e.userId === userId
|
||||
);
|
||||
|
||||
const isCollectionOwner = collectionIsAccessible?.ownerId === userId;
|
||||
|
||||
Reference in New Issue
Block a user