Skip to content

Commit

Permalink
Patch for ExtensionsConfiguration REST API wrong json response on get…
Browse files Browse the repository at this point in the history
…Configuration()

This close #2134
  • Loading branch information
gvagenas committed May 10, 2017
1 parent 766b645 commit 4df7f73
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -138,7 +138,7 @@ protected Response getConfiguration(final String extensionId, final Sid accountS
final RestCommResponse response = new RestCommResponse(extensionConfiguration);
return ok(xstream.toXML(response), APPLICATION_XML).build();
} else if (APPLICATION_JSON_TYPE == responseType) {
return ok(gson.toJson(extensionConfiguration.getConfigurationData()), APPLICATION_JSON).build();
return ok(gson.toJson(extensionConfiguration), APPLICATION_JSON).build();
} else {
return null;
}
Expand Down

0 comments on commit 4df7f73

Please sign in to comment.