Merge pull request #3768 from ritzalam/fix-get-recordings-api

- convert "success" to upper case to match previous API. Maybe users…
This commit is contained in:
Richard Alam 2017-03-28 17:07:29 -04:00 committed by GitHub
commit bdb4d3d1e1

View File

@ -799,7 +799,7 @@ class ApiController {
def templateLoc = getServletContext().getRealPath("/WEB-INF/freemarker")
ResponseBuilder responseBuilder = new ResponseBuilder(new File(templateLoc))
def xmlText = responseBuilder.buildGetMeetingInfoResponse(meeting, "success")
def xmlText = responseBuilder.buildGetMeetingInfoResponse(meeting, RESP_CODE_SUCCESS)
withFormat {
xml {
render(text: xmlText, contentType: "text/xml")
@ -867,7 +867,7 @@ class ApiController {
def templateLoc = getServletContext().getRealPath("/WEB-INF/freemarker")
ResponseBuilder responseBuilder = new ResponseBuilder(new File(templateLoc))
def xmlText = responseBuilder.buildGetMeetingsResponse(mtgs, "success")
def xmlText = responseBuilder.buildGetMeetingsResponse(mtgs, RESP_CODE_SUCCESS)
withFormat {
xml {
render(text: xmlText, contentType: "text/xml")
@ -1794,7 +1794,7 @@ class ApiController {
def templateLoc = getServletContext().getRealPath("/WEB-INF/freemarker")
ResponseBuilder responseBuilder = new ResponseBuilder(new File(templateLoc))
def xmlText = responseBuilder.buildGetRecordingsResponse(recs, "success")
def xmlText = responseBuilder.buildGetRecordingsResponse(recs, RESP_CODE_SUCCESS)
withFormat {
xml {
render(text: xmlText, contentType: "text/xml")