Skip to content
This repository has been archived by the owner on Jan 19, 2023. It is now read-only.

Commit

Permalink
fix: remove company config parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
yHannns committed Jul 9, 2020
1 parent 4498c69 commit 54639db
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/services/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ export class Config {

static async partialUpdate(config: models.Config) {
const data = config.toData ? config.toData() : config
delete data.company_config;
return http.patch(this.url(), data)
.then(x => models.Config.fromData(x.data))
}
Expand Down

0 comments on commit 54639db

Please sign in to comment.