diff --git a/src/services/config.ts b/src/services/config.ts index 21e71791..4958d6ca 100644 --- a/src/services/config.ts +++ b/src/services/config.ts @@ -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)) }