Revert "updated the url for successful thumbnail publishes" #1779

Merged
neb-b merged 1 commit from revert-1778-update-published-thumbnail-url into master 2018-07-17 15:42:59 +02:00

View file

@ -117,7 +117,7 @@ export const doUploadThumbnail = (filePath: string, nsfw: boolean) => (dispatch:
type: ACTIONS.UPDATE_PUBLISH_FORM,
data: {
uploadThumbnailStatus: THUMBNAIL_STATUSES.COMPLETE,
thumbnail: `${json.data.embedUrl}`,
thumbnail: `${json.data.url}${fileExt}`,
},
})
: uploadError('Upload failed')