Skip to content

Commit

Permalink
update prettier dependecy and lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
rodriguescarsonvc committed Jan 11, 2025
1 parent 4985e0e commit 241ef4e
Show file tree
Hide file tree
Showing 5 changed files with 8,386 additions and 10,348 deletions.
2 changes: 1 addition & 1 deletion examples/full/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
2 changes: 1 addition & 1 deletion examples/minimal/next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"del-cli": "^6.0.0",
"eslint": "^8.57.1",
"npm-run-all2": "^7.0.1",
"prettier": "^3.3.3",
"prettier": "^3.4.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.3.5",
Expand Down
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
Loading

0 comments on commit 241ef4e

Please sign in to comment.