From b54ce995f6e85d94837b7483f9f32f523501615c Mon Sep 17 00:00:00 2001 From: piotr-s-brainhub Date: Fri, 28 Sep 2018 22:59:20 +0200 Subject: [PATCH] fix updating apps --- lib/model/cloudcontroller/Apps.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/model/cloudcontroller/Apps.js b/lib/model/cloudcontroller/Apps.js index a93ef54..e44cf43 100644 --- a/lib/model/cloudcontroller/Apps.js +++ b/lib/model/cloudcontroller/Apps.js @@ -87,7 +87,7 @@ class Apps extends CloudControllerBase { "Content-Type": "application/x-www-form-urlencoded", Authorization: `${this.UAA_TOKEN.token_type} ${this.UAA_TOKEN.access_token}` }, - form: JSON.stringify(appOptions) + body: JSON.stringify(appOptions) }; return this.REST.request(options, this.HttpStatus.CREATED, true);