Adding bot kind on list

This commit is contained in:
Matias committed 2019-03-28 11:15:54 +01:00
1 parent 165323dbbb
commit b64b61c01b
2 files changed
+2

No files matched your search

@@ -31,6 +31,7 @@ const resolve = async(parent, { botType }, context) => {
let bot = allUserBots[j].node
if(clones[i].botId === bot.id){
let clone = cloneDetails(bot, clones[i])
clone.botType = bot.kind
cloneResponse.push(clone)
break
}
+1
View File
@@ -34,6 +34,7 @@ const resolve = async (parent, { botType, queryLogs }, context) => {
let bot = allUserBots[j].node
if(clones[i].botId === bot.id){
let clone = cloneDetails(bot, clones[i])
clone.botType = bot.kind
cloneResponse.push(clone)
break
}