mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-07 05:37:39 +02:00
set policy data to null
This commit is contained in:
parent
f6fb56229e
commit
00b9f4cab6
@ -63,7 +63,7 @@ export class PolicyEditComponent implements OnInit {
|
|||||||
const request = new PolicyRequest();
|
const request = new PolicyRequest();
|
||||||
request.enabled = this.enabled;
|
request.enabled = this.enabled;
|
||||||
request.type = this.type;
|
request.type = this.type;
|
||||||
request.data = '';
|
request.data = null;
|
||||||
try {
|
try {
|
||||||
this.formPromise = this.apiService.putPolicy(this.organizationId, this.type, request);
|
this.formPromise = this.apiService.putPolicy(this.organizationId, this.type, request);
|
||||||
await this.formPromise;
|
await this.formPromise;
|
||||||
|
Loading…
Reference in New Issue
Block a user