From a4d88e0d7e37b65e6883e572320172f7197ccce3 Mon Sep 17 00:00:00 2001 From: Andrii Bodnar Date: Fri, 5 Jan 2024 09:49:44 +0200 Subject: [PATCH] fix: installApplication method (#357) --- src/applications/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/index.ts b/src/applications/index.ts index a5ab0f938..8da7619e8 100644 --- a/src/applications/index.ts +++ b/src/applications/index.ts @@ -25,7 +25,7 @@ export class Applications extends CrowdinApi { permissions?: ApplicationsModel.ApplicationPermissions, ): Promise> { const url = `${this.url}/applications/installations`; - return this.post(url, { applicationUrl, permissions }, this.defaultConfig()); + return this.post(url, { url: applicationUrl, permissions: permissions }, this.defaultConfig()); } /**