From b0047eb74f5da1ab6063a1b516ec7cd6f52e3e5d Mon Sep 17 00:00:00 2001 From: "pablo g. rubio" Date: Sat, 2 Jul 2022 02:53:38 +0200 Subject: [PATCH] Update client.ts --- client.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.ts b/client.ts index 07080f2..0c26d94 100644 --- a/client.ts +++ b/client.ts @@ -192,7 +192,7 @@ class Collection { // deno-lint-ignore no-explicit-any async callApi(method: string, extra: Document): Promise { const { endpoint, appId, apiKey, dataSource } = this.client; - const url = `${endpoint}/app/${appId}/endpoint/data/beta/action/${method}`; + const url = `${endpoint}/app/${appId}/endpoint/data/v1/action/${method}`; const response = await this.client.fetch(url, { method: "POST",