diff --git a/libs/client/package.json b/libs/client/package.json index 585b5da..b06d935 100644 --- a/libs/client/package.json +++ b/libs/client/package.json @@ -1,7 +1,7 @@ { "name": "@fal-ai/serverless-client", "description": "The fal serverless JS/TS client", - "version": "0.8.4", + "version": "0.8.5", "license": "MIT", "repository": { "type": "git", diff --git a/libs/client/src/function.ts b/libs/client/src/function.ts index 8603e9a..1be73c5 100644 --- a/libs/client/src/function.ts +++ b/libs/client/src/function.ts @@ -269,12 +269,11 @@ export const queue: Queue = { id: string, options: SubmitOptions ): Promise { - const [appOwner, appAlias] = ensureAppIdFormat(id).split('/'); const { webhookUrl, path = '', ...runOptions } = options; const query = webhookUrl ? '?' + new URLSearchParams({ fal_webhook: webhookUrl }).toString() : ''; - return send(`${appOwner}/${appAlias}`, { + return send(id, { ...runOptions, subdomain: 'queue', method: 'post',