Merge pull request #59 from AAVikings/master

Adding bot kind on list
This commit is contained in:
benme authored and GitHub committed 2019-03-28 11:16:38 +01:00
commit 5d5f891013
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
}