From 61bb34d78a141878d003437aa3050ba2a5683e79 Mon Sep 17 00:00:00 2001 From: jaanbaaz Date: Tue, 3 Sep 2024 18:18:32 +0530 Subject: [PATCH] multi repo hotfix --- v2_app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v2_app.py b/v2_app.py index 67c970e..d7572dc 100644 --- a/v2_app.py +++ b/v2_app.py @@ -19,7 +19,7 @@ def get_issues_by_owner_id_v2(owner, issue): url = f"https://github.com/{owner}" # import pdb;pdb.set_trace() - actual_owner = SUPABASE_DB.client.table('dmp_issues').select('id','name','repo_owner').like('repo_owner',owner).execute().data + actual_owner = SUPABASE_DB.client.table('dmp_issues').select('id','title','repo_owner').like('repo_owner',owner).execute().data repo_owner =actual_owner[0]['repo_owner'] if actual_owner else "" #create url with repo owner url = f"https://github.com/{repo_owner}" if repo_owner else None