Skip to content

Commit

Permalink
fix: installApplication method (crowdin#357)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii-bodnar authored Jan 5, 2024
1 parent e76b36f commit a4d88e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/applications/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export class Applications extends CrowdinApi {
permissions?: ApplicationsModel.ApplicationPermissions,
): Promise<ResponseObject<ApplicationsModel.ApplicationData>> {
const url = `${this.url}/applications/installations`;
return this.post(url, { applicationUrl, permissions }, this.defaultConfig());
return this.post(url, { url: applicationUrl, permissions: permissions }, this.defaultConfig());
}

/**
Expand Down

0 comments on commit a4d88e0

Please sign in to comment.