17582: Fixes bug by avoiding an JSON param decoding issue on controller.
authorLucas Di Pentima <lucas@di-pentima.com.ar>
Tue, 11 May 2021 15:03:04 +0000 (12:03 -0300)
committerLucas Di Pentima <lucas@di-pentima.com.ar>
Tue, 11 May 2021 16:00:40 +0000 (13:00 -0300)
commitd1400d750add1a427bf2def7ed61abe213b147c5
treeec4b240b80088e3e9fccb7a557cecb5f73df8008
parentbba5fdc0c59b22bd8aa953d3db8bdc059f7ebab5
17582: Fixes bug by avoiding an JSON param decoding issue on controller.

Makes create and update calls send params in the form of:

{rsc_name: { data }}

...to controller to avoid having problems with string params starting with
opening brackets of braces and confusing controller.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@di-pentima.com.ar>
src/services/common-service/common-resource-service.test.ts
src/services/common-service/common-resource-service.ts
src/services/common-service/common-service.ts
src/services/project-service/project-service.test.ts