adobe_connect_api 0.0.31.alpha → 0.0.32.alpha
Sign up to get free protection for your applications and to get access to all the features.
data/lib/adobe_connect_api.rb
CHANGED
@@ -169,9 +169,9 @@ class AdobeConnectAPI
|
|
169
169
|
data = XmlSimple.xml_in(res.body)
|
170
170
|
rows = []
|
171
171
|
if data["principal-list"]
|
172
|
-
data["principal"].each do |trans|
|
172
|
+
data["principal-list"].each do |trans|
|
173
173
|
# can only contain one result
|
174
|
-
principal_id = trans["principal-id"]
|
174
|
+
principal_id = trans["principal"]["principal-id"]
|
175
175
|
end
|
176
176
|
end
|
177
177
|
return AdobeConnectAPI::Result.new(data["status"][0]["code"], principal_id)
|