Mholloway has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/385301 )
Change subject: Fix: Include MIME type and thumb URL in media endpoint responses ...................................................................... Fix: Include MIME type and thumb URL in media endpoint responses Bug: T177430 Change-Id: I3e5e3ab92d85d63aa6fed6669cdad37cf4417c73 --- M lib/gallery.js 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/services/mobileapps refs/changes/01/385301/1 diff --git a/lib/gallery.js b/lib/gallery.js index af5ca69..e79722f 100644 --- a/lib/gallery.js +++ b/lib/gallery.js @@ -62,8 +62,8 @@ return { title: item.title, url, - thumbUrl: obj.thumbUrl, - mimeType: obj.mimeType, + thumbUrl: obj.thumburl, + mime: obj.mime, width: obj.width, height: obj.height, ext: getExtMetadata(obj.extmetadata) -- To view, visit https://gerrit.wikimedia.org/r/385301 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I3e5e3ab92d85d63aa6fed6669cdad37cf4417c73 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/services/mobileapps Gerrit-Branch: master Gerrit-Owner: Mholloway <mhollo...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits