Skip to content

Commit 790a6ad

Browse files
committed
issue by owner api fix
1 parent 21c2c06 commit 790a6ad

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def get_issues_by_owner(owner):
194194
org_link = f"https://github.com/{owner}"
195195

196196
# Fetch organization details from dmp_orgs table
197-
response = SupabaseInterface().get_instance().client.table('dmp_orgs').select('name', 'description').eq('link', org_link).execute()
197+
response = SupabaseInterface().get_instance().client.table('dmp_orgs').select('name', 'description').eq('name', owner).execute()
198198

199199
if not response.data:
200200
return jsonify({'error': "Organization not found"}), 404

0 commit comments

Comments
 (0)