updated the thumbnail url on successfull publishes

This commit is contained in:
bill bittner 2018-07-16 17:26:13 -07:00
parent 2d270d94ff
commit de75bfad72

View file

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