Skip to content

Commit

Permalink
⚡️ Add notion page cache set
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Muir committed Sep 13, 2023
1 parent 48ebd71 commit 1780388
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/notion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,5 +110,6 @@ export const getPage = async (db: Database, pageId: string) => {
page.recordMap = recordMapParser(recordMap);
page.blocks = await bookmarkify(db, blocks);

await cache.set(page);
return page;
}

0 comments on commit 1780388

Please sign in to comment.