fully added reader view support

This commit is contained in:
daniel31x13
2023-10-30 15:20:15 -04:00
parent ed91c4267b
commit fb61812356
16 changed files with 753 additions and 172 deletions
-2
View File
@@ -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;