This commit is contained in:
Matteo Ferrando 2023-10-26 13:48:16 -04:00
parent 347a6d118a
commit c0d2c94f3c

View File

@ -237,7 +237,7 @@ export const queue: Queue = {
): Promise<EnqueueResult> { ): Promise<EnqueueResult> {
return run(id, { ...options, method: 'post', path: '/fal/queue/submit/' }); return run(id, { ...options, method: 'post', path: '/fal/queue/submit/' });
}, },
async status(id: string, requestId: string, logs: boolean = false): Promise<QueueStatus> { async status(id: string, requestId: string, logs = false): Promise<QueueStatus> {
return run(id, { return run(id, {
method: 'get', method: 'get',
path: `/fal/queue/requests/${requestId}/status`, path: `/fal/queue/requests/${requestId}/status`,