From de75bfad72507b4b50b988771bdd61681827c033 Mon Sep 17 00:00:00 2001 From: bill bittner Date: Mon, 16 Jul 2018 17:26:13 -0700 Subject: [PATCH] updated the thumbnail url on successfull publishes --- src/renderer/redux/actions/publish.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/redux/actions/publish.js b/src/renderer/redux/actions/publish.js index 3f2f8c871..96360ee29 100644 --- a/src/renderer/redux/actions/publish.js +++ b/src/renderer/redux/actions/publish.js @@ -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')