[Issue-18924] - Changed parameter name to preUploadedPresentation
This commit is contained in:
parent
d7d228d047
commit
a22068be18
@ -1382,18 +1382,18 @@ class ApiController {
|
|||||||
Boolean hasPresentationUrlInParameter = false
|
Boolean hasPresentationUrlInParameter = false
|
||||||
|
|
||||||
|
|
||||||
String[] pu = request.getParameterMap().get("presentationURL")
|
String[] pu = request.getParameterMap().get("preUploadedPresentation")
|
||||||
if (pu != null) {
|
if (pu != null) {
|
||||||
String presentationURL = pu[0]
|
String preUploadedPresentation = pu[0]
|
||||||
hasPresentationUrlInParameter = true
|
hasPresentationUrlInParameter = true
|
||||||
def xmlString = new StringWriter()
|
def xmlString = new StringWriter()
|
||||||
def xml = new MarkupBuilder(xmlString)
|
def xml = new MarkupBuilder(xmlString)
|
||||||
xml.document (
|
xml.document (
|
||||||
removable: "true",
|
removable: "true",
|
||||||
downloadable: "false",
|
downloadable: "false",
|
||||||
url: presentationURL,
|
url: preUploadedPresentation,
|
||||||
filename: extractFilenameFromUrl(presentationURL),
|
filename: extractFilenameFromUrl(preUploadedPresentation),
|
||||||
name: extractFilenameFromUrl(presentationURL)
|
name: extractFilenameFromUrl(preUploadedPresentation)
|
||||||
)
|
)
|
||||||
|
|
||||||
def parsedXml = new XmlSlurper().parseText(xmlString.toString())
|
def parsedXml = new XmlSlurper().parseText(xmlString.toString())
|
||||||
|
Loading…
Reference in New Issue
Block a user