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

Commit

Permalink
Merge pull request #57 from longguikeji/yh/fix-config-parameter
Browse files Browse the repository at this point in the history
fix: remove company config parameter
  • Loading branch information
RockLi authored Jul 9, 2020
2 parents 4498c69 + 54639db commit 103174f
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

1 comment on commit 103174f

@54616GithubWork
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.