Revert "updated the url for successful thumbnail publishes"

This commit is contained in:
Sean Yesmunt 2018-07-17 09:42:47 -04:00 committed by GitHub
parent 607e2d3952
commit 7080d5f8c6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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')