Add user id only when it was provided 33/125433/1
authorandre.schmid <andre.schmid@est.tech>
Wed, 27 Oct 2021 18:01:30 +0000 (19:01 +0100)
committerAndré Schmid <andre.schmid@est.tech>
Thu, 28 Oct 2021 10:31:38 +0000 (10:31 +0000)
commit08b6e0e63e4524d02507d6709710b53f87690cc0
treed005ccc2423ad17eb91bf6eccaa43c3cef6396f7
parent5bd5e5a0e64afff9c285860f1f5069e6acc25d67
Add user id only when it was provided

During the policy upload call, the user id is being added as a query
parameter even if it was not provided, causing to provide the value
"null" as the userId parameter.
This change just add the userId to the call when it is available.

Issue-ID: POLICY-3796
Signed-off-by: andre.schmid <andre.schmid@est.tech>
Change-Id: I7bcc928f1ca144ee1ad05e7d1028ea08a15ebd42
gui-editors/gui-editor-apex/src/main/resources/webapp/js/ApexFiles.js