Skip to content

Commit

Permalink
Merge pull request #35 from Code4GovTech/server_debuging
Browse files Browse the repository at this point in the history
Server debuging
  • Loading branch information
karntrehan authored Jul 18, 2024
2 parents 0b292ff + 238e0d8 commit 474982f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_issues_by_owner_id_v2(owner, issue):
url = f"https://github.com/{repo_owner}" if repo_owner else None


dmp_issue_id = SUPABASE_DB.client.table('dmp_issues').select('*').like('issue_url', f'%{url}%').eq('id', issue).execute()
dmp_issue_id = SUPABASE_DB.client.table('dmp_issues').select('*').eq('id', issue).execute()
if not dmp_issue_id.data:
print(f"url....{url}....{issue}")
return jsonify({'error': "No data found in dmp_issue"}), 500
Expand Down

0 comments on commit 474982f

Please sign in to comment.