1
0
mirror of https://github.com/bitwarden/browser synced 2024-12-25 01:22:26 +01:00

set policy data to null

This commit is contained in:
Kyle Spearrin 2020-01-20 08:59:06 -05:00
parent f6fb56229e
commit 00b9f4cab6

View File

@ -63,7 +63,7 @@ export class PolicyEditComponent implements OnInit {
const request = new PolicyRequest();
request.enabled = this.enabled;
request.type = this.type;
request.data = '';
request.data = null;
try {
this.formPromise = this.apiService.putPolicy(this.organizationId, this.type, request);
await this.formPromise;