Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
dolevf committed Aug 29, 2022
1 parent e389682 commit 2c93c6b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 3 additions & 2 deletions graphw00f/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ def get_engines():
'name':'caliban',
'url':'https://github.com/ghostdogpr/caliban',
'ref':'https://github.com/nicholasaleks/graphql-threat-matrix/blob/master/implementations/caliban.md',
'technology':['Scala']
'technology':['Scala'],
},
'jaal':{
'name':'jaal',
'url':'https://github.com/appointy/jaal',
Expand All @@ -259,5 +260,5 @@ def get_engines():

def user_confirmed(choice):
if choice in ('yes', 'y'):
return True
return True
return False
3 changes: 3 additions & 0 deletions graphw00f/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,9 @@ def engine_lacinia(self):
response = self.graph_query(self.url, payload=query)

if error_contains(response, 'Cannot query field `graphw00f\' on type `QueryRoot\'.'):
return True

return False

def engine_jaal(self):
query = '''{}'''
Expand Down

0 comments on commit 2c93c6b

Please sign in to comment.