pass key->value pairs in "customdata" array

This commit is contained in:
Anton Georgiev 2018-07-24 22:34:53 +00:00
parent 5e750bb3c6
commit b4b4f32929

View File

@ -1388,8 +1388,7 @@ class ApiController {
defaultLayout = us.defaultLayout
avatarURL = us.avatarURL
customdata = array {
userCustomData.each { k, v ->
// Somehow we need to prepend something (custdata) for the JSON to work
meeting.getUserCustomData(us.externUserID).each { k, v ->
custdata "$k" : v
}
}