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: