Fix success message for publishes #201

Merged
tzarebczan merged 2 commits from fix-response into master 2018-12-11 18:39:38 +01:00

View file

@ -122,6 +122,7 @@ export default async(data, socket) => {
const memePublishResponse = await publishMeme(body); const memePublishResponse = await publishMeme(body);
switch(true) { switch(true) {
case data.example === 2:
case memePublishResponse.result: case memePublishResponse.result:
case memePublishResponse.result.claim_address: case memePublishResponse.result.claim_address:
explorerNotice = memePublishMessaging(memePublishResponse); explorerNotice = memePublishMessaging(memePublishResponse);