Skip to content

Commit 474982f

Browse files
authored
Merge pull request #35 from Code4GovTech/server_debuging
Server debuging
2 parents 0b292ff + 238e0d8 commit 474982f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v2_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_issues_by_owner_id_v2(owner, issue):
2525
url = f"https://github.com/{repo_owner}" if repo_owner else None
2626

2727

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

0 commit comments

Comments
 (0)