From 790a6adf61febb08eb00a118ec2eab76aed3fd27 Mon Sep 17 00:00:00 2001 From: sasi Date: Fri, 21 Jun 2024 13:55:11 +0530 Subject: [PATCH] issue by owner api fix --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 8d0bdce..9011ec6 100644 --- a/app.py +++ b/app.py @@ -194,7 +194,7 @@ def get_issues_by_owner(owner): org_link = f"https://github.com/{owner}" # Fetch organization details from dmp_orgs table - response = SupabaseInterface().get_instance().client.table('dmp_orgs').select('name', 'description').eq('link', org_link).execute() + response = SupabaseInterface().get_instance().client.table('dmp_orgs').select('name', 'description').eq('name', owner).execute() if not response.data: return jsonify({'error': "Organization not found"}), 404