Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
transitive-bullshit committed Jan 12, 2025
1 parent 4985e0e commit c77bb7f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions packages/notion-client/src/notion-api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,14 +237,17 @@ export class NotionAPI {
// console.log(block, source)

if (source) {
if (source.includes('secure.notion-static.com') || source.includes('prod-files-secure')) {
if (
source.includes('secure.notion-static.com') ||
source.includes('prod-files-secure')
) {
return {
permissionRecord: {
table: 'block',
id: block.id
},
url: source
};
}
}

return []
Expand Down

0 comments on commit c77bb7f

Please sign in to comment.