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); const memePublishResponse = await publishMeme(body);
switch(true) { switch(true) {
case memePublishResponse.result: case data.example === 2:
case memePublishResponse.result.claim_address: case memePublishResponse.body.result:
explorerNotice = memePublishMessaging(memePublishResponse); case memePublishResponse.body.result.claim_address:
explorerNotice = memePublishMessaging(memePublishResponse.body);
break; break;
default: default: