Adding link to logs module
This commit is contained in:
1 parent
bb1b1ec8ae
commit
2afc554166
6 files changed
+173
-158
No files matched your search
@@ -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) {
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user