projects
/
osm
/
UI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
User platform role modification fix
[osm/UI.git]
/
skyquake
/
framework
/
core
/
modules
/
api
/
projectManagementAPI.js
diff --git
a/skyquake/framework/core/modules/api/projectManagementAPI.js
b/skyquake/framework/core/modules/api/projectManagementAPI.js
index
07e873d
..
c00de32
100644
(file)
--- a/
skyquake/framework/core/modules/api/projectManagementAPI.js
+++ b/
skyquake/framework/core/modules/api/projectManagementAPI.js
@@
-228,6
+228,7
@@
ProjectManagement.updatePlatform = function(req) {
var api_server = req.query['api_server'];
var bodyData = req.body;
data = bodyData;
+ data.user = JSON.parse(data.user)
var updateTasks = [];
var updateUser = rp({