updated the url for successful thumbnail publishes #1778
1 changed files with 1 additions and 1 deletions
|
@ -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')
|
||||||
|
|
Loading…
Reference in a new issue