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

updated the url for successful thumbnail publishes
This commit is contained in:
Sean Yesmunt 2018-07-17 09:17:24 -04:00 committed by GitHub
commit 607e2d3952
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.url}${fileExt}`,
thumbnail: `${json.data.embedUrl}`,
},
})
: uploadError('Upload failed')