From 00b9f4cab60bfcc5311ab2e5953ef5fba09a0a76 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Mon, 20 Jan 2020 08:59:06 -0500 Subject: [PATCH] set policy data to null --- src/app/organizations/manage/policy-edit.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/organizations/manage/policy-edit.component.ts b/src/app/organizations/manage/policy-edit.component.ts index ea6332bc91..8bbd895923 100644 --- a/src/app/organizations/manage/policy-edit.component.ts +++ b/src/app/organizations/manage/policy-edit.component.ts @@ -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;