diff --git a/studio/pages/project/[ref]/logs-explorer/index.tsx b/studio/pages/project/[ref]/logs-explorer/index.tsx index 8639dc06421..5053eece9af 100644 --- a/studio/pages/project/[ref]/logs-explorer/index.tsx +++ b/studio/pages/project/[ref]/logs-explorer/index.tsx @@ -175,7 +175,7 @@ export const LogsExplorerPage: NextPageWithLayout = () => { const payload: UserContent = { name: values.name, - description: values.description, + description: values?.description ?? '', type: 'log_sql', content: { content_id: editorId, @@ -186,6 +186,8 @@ export const LogsExplorerPage: NextPageWithLayout = () => { visibility: 'user', } + console.log('Payload', payload) + try { const { data: query, error } = await content.create(payload) if (error) throw error