From 08bf8c1b3e3c405dcecd3847c54addebeceb67c5 Mon Sep 17 00:00:00 2001 From: Thomas Zarebczan Date: Sat, 8 Dec 2018 20:46:31 -0500 Subject: [PATCH] Update fetch-metadata.js Trying to match the tip example... --- app/helpers/fetch-metadata.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/helpers/fetch-metadata.js b/app/helpers/fetch-metadata.js index 7fe773a..8de60b9 100644 --- a/app/helpers/fetch-metadata.js +++ b/app/helpers/fetch-metadata.js @@ -122,9 +122,10 @@ export default async(data, socket) => { const memePublishResponse = await publishMeme(body); switch(true) { - case memePublishResponse.result: - case memePublishResponse.result.claim_address: - explorerNotice = memePublishMessaging(memePublishResponse); + case data.example === 2: + case memePublishResponse.body.result: + case memePublishResponse.body.result.claim_address: + explorerNotice = memePublishMessaging(memePublishResponse.body); break; default: