Adding link to logs module

This commit is contained in:
Matias committed 2019-03-05 20:13:24 -03:00
1 parent bb1b1ec8ae
commit 2afc554166
6 files changed
+173 -158

No files matched your search

+1
View File
@@ -30,6 +30,7 @@ const resolve = async(parent, args, context) => {
let lastLogs = await getCloneLogs(clones[i].id)
clones[i].lastLogs = lastLogs.substring(1, lastLogs.length - 1)
clones[i].botType = clones[i].kind // Only for listing we show the teams value
clones[i].botSlug = clones[i].botSlug
}
return clones
} catch (err) {
+2 -1
View File
@@ -38,7 +38,8 @@ const CloneType = new GraphQLObjectType({
botName: {type: GraphQLString},
botAvatar: {type: GraphQLString},
teamAvatar: {type: GraphQLString},
keyId: {type: GraphQLString}
keyId: {type: GraphQLString},
botSlug: {type: GraphQLString}
})
})
export default CloneType