Skip to content

Commit

Permalink
Update client.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
pagoru authored Jul 2, 2022
1 parent 067c380 commit b0047eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ class Collection<T> {
// deno-lint-ignore no-explicit-any
async callApi(method: string, extra: Document): Promise<any> {
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",
Expand Down

0 comments on commit b0047eb

Please sign in to comment.