Use a promise

This commit is contained in:
Jackson Harper 2022-08-25 20:07:13 +08:00
parent 82fdad3c80
commit 933fa9f142

View file

@ -21,7 +21,7 @@ export const shouldSynthesize = async (
userId: string,
page: Page
): Promise<boolean> => {
return false
return Promise.resolve(false)
// if (page.pageType === PageType.File || !page.content) {
// // we don't synthesize files for now
// return false