Skip to content

Commit 6bdd3f8

Browse files
authored
Merge pull request #1548 from mfts/fix/notion-attachment
fix: notion files add attachment
2 parents 98eeb36 + 7b487e4 commit 6bdd3f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/notion/utils.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ export const addSignedUrls: NotionAPI["addSignedUrls"] = async ({
3434
if (source) {
3535
if (
3636
source.includes("secure.notion-static.com") ||
37-
source.includes("prod-files-secure")
37+
source.includes("prod-files-secure") ||
38+
source.includes("attachment:")
3839
) {
3940
return {
4041
permissionRecord: {

0 commit comments

Comments
 (0)