We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4985e0e commit c77bb7fCopy full SHA for c77bb7f
packages/notion-client/src/notion-api.ts
@@ -237,14 +237,17 @@ export class NotionAPI {
237
// console.log(block, source)
238
239
if (source) {
240
- if (source.includes('secure.notion-static.com') || source.includes('prod-files-secure')) {
+ if (
241
+ source.includes('secure.notion-static.com') ||
242
+ source.includes('prod-files-secure')
243
+ ) {
244
return {
245
permissionRecord: {
246
table: 'block',
247
id: block.id
248
},
249
url: source
- };
250
+ }
251
}
252
253
return []
0 commit comments