File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
apps/frontend/app/api/v1/osograph/schema/resolvers Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -282,14 +282,14 @@ export const notebookResolvers: GraphQLResolverModule<GraphQLContext> = {
282282 . eq ( "notebook_id" , notebookId )
283283 . single ( ) ;
284284 if ( error ) {
285- console . log ( "Failed to find published notebook:" , error ) ;
285+ logger . log ( "Failed to find published notebook:" , error ) ;
286286 throw NotebookErrors . notFound ( ) ;
287287 }
288288 const { error : deleteError } = await supabase . storage
289289 . from ( "published-notebooks" )
290290 . remove ( [ publishedNotebook . data_path ] ) ;
291291 if ( deleteError ) {
292- console . log ( "Failed to delete notebook file:" , deleteError ) ;
292+ logger . log ( "Failed to delete notebook file:" , deleteError ) ;
293293 throw ServerErrors . database ( "Failed to delete notebook file" ) ;
294294 }
295295 const { error : updateError } = await supabase
@@ -300,7 +300,7 @@ export const notebookResolvers: GraphQLResolverModule<GraphQLContext> = {
300300 } )
301301 . eq ( "id" , publishedNotebook . id ) ;
302302 if ( updateError ) {
303- console . log ( "Failed to delete notebook file:" , updateError ) ;
303+ logger . log ( "Failed to delete notebook file:" , updateError ) ;
304304 throw ServerErrors . database ( "Failed to delete notebook file" ) ;
305305 }
306306
You can’t perform that action at this time.
0 commit comments