From 48829672cbecbedd388c7e896f7cb9c5948b56fe Mon Sep 17 00:00:00 2001 From: Matteo Ferrando Date: Wed, 25 Oct 2023 12:43:33 -0400 Subject: [PATCH] Update libs/client/src/function.ts Co-authored-by: Daniel Rochetti --- libs/client/src/function.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libs/client/src/function.ts b/libs/client/src/function.ts index a59b109..e74d660 100644 --- a/libs/client/src/function.ts +++ b/libs/client/src/function.ts @@ -235,7 +235,10 @@ export const queue: Queue = { async status(id: string, requestId: string, logs: boolean = true): Promise { return run(id, { 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(id: string, requestId: string): Promise {