Update libs/client/src/function.ts
Co-authored-by: Daniel Rochetti <daniel.rochetti@gmail.com>
This commit is contained in:
parent
d7e9dd1515
commit
48829672cb
@ -235,7 +235,10 @@ export const queue: Queue = {
|
|||||||
async status(id: string, requestId: string, logs: boolean = true): Promise<QueueStatus> {
|
async status(id: string, requestId: string, logs: boolean = true): Promise<QueueStatus> {
|
||||||
return run(id, {
|
return run(id, {
|
||||||
method: 'get',
|
method: 'get',
|
||||||
path: `/fal/queue/requests/${requestId}/status?logs=${logs ? '1' : '0'}`,
|
path: `/fal/queue/requests/${requestId}/status`,
|
||||||
|
input: {
|
||||||
|
logs: logs ? '1' : '0',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
async result<Output>(id: string, requestId: string): Promise<Output> {
|
async result<Output>(id: string, requestId: string): Promise<Output> {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user