Merge pull request #1779 from lbryio/revert-1778-update-published-thumbnail-url

Revert "updated the url for successful thumbnail publishes"
This commit is contained in:
Sean Yesmunt 2018-07-17 09:42:58 -04:00 committed by GitHub
commit 517357d9cb
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')