set policy data to null

This commit is contained in:
Kyle Spearrin 2020-01-20 08:59:06 -05:00
parent f6fb56229e
commit 00b9f4cab6
1 changed files with 1 additions and 1 deletions

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;