Update fetch-metadata.js

Trying to match the tip example...
This commit is contained in:
Thomas Zarebczan 2018-12-08 20:46:31 -05:00 committed by GitHub
parent c5284d4f5c
commit 08bf8c1b3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: