File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
packages/mcp-server-supabase/src Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -347,6 +347,9 @@ export function createSupabaseMcpServer(options: SupabaseMcpServerOptions) {
347
347
. describe ( 'The service to fetch logs for' ) ,
348
348
} ) ,
349
349
execute : async ( { project_id, service } ) => {
350
+ // Omitting start and end time defaults to the last minute.
351
+ // But since branch actions are async, we need to wait longer
352
+ // for jobs to be scheduled and run to completion.
350
353
const timestamp =
351
354
service === 'branch-action'
352
355
? new Date ( Date . now ( ) - 5 * 60 * 1000 )
@@ -359,7 +362,6 @@ export function createSupabaseMcpServer(options: SupabaseMcpServerOptions) {
359
362
ref : project_id ,
360
363
} ,
361
364
query : {
362
- // Omitting start and end time defaults to the last minute
363
365
iso_timestamp_start : timestamp ?. toISOString ( ) ,
364
366
sql : getLogQuery ( service ) ,
365
367
} ,
You can’t perform that action at this time.
0 commit comments