Commit 23c4ffc3 authored by Melroy van den Berg's avatar Melroy van den Berg

fix lint

parent 4d36b8db
Pipeline #1631 passed with stage
in 1 minute and 5 seconds
......@@ -213,8 +213,8 @@ Oldest address in keypool: ${oldestKeyTime}
.then(channelResult => {
if (typeof channelResult === 'undefined' || channelResult.length <= 0) {
this.bot.sendMessage(chatId, 'Error: Channel result is undefined or file not found (invalid claim id). File search: ' + uri, { parse_mode: 'markdown' })
} else if('error' in channelResult) {
this.bot.sendMessage(chatId, 'Error: ' + result.error, {parse_mode: 'markdown'})
} else if ('error' in channelResult) {
this.bot.sendMessage(chatId, 'Error: ' + result.error, { parse_mode: 'markdown' })
} else {
const title = result.metadata.title
const channelName = channelResult[0].name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment