Skip to content

Commit f3ee87e

Browse files
committed
chore: changeset
1 parent 2b52061 commit f3ee87e

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/quiet-bags-tell.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"notion-to-utils": patch
3+
---
4+
5+
makePreviewImage error return null

packages/notion-to-utils/src/utils/makePreviewImage.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,6 @@ export const makePreviewImage = async (url: string) => {
3636
};
3737
return result;
3838
} catch (error) {
39-
return undefined;
39+
return null;
4040
}
4141
};

0 commit comments

Comments
 (0)