Skip to content

Commit c521cfa

Browse files
authored
Merge pull request #55 from Code4GovTech/hotfix/repo_owner
repo_owner hot fix
2 parents 4339643 + 61bb34d commit c521cfa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v2_app.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def get_issues_by_owner_id_v2(owner, issue):
1919
url = f"https://github.com/{owner}"
2020

2121
# import pdb;pdb.set_trace()
22-
actual_owner = SUPABASE_DB.client.table('dmp_orgs').select('id','name','repo_owner').like('name',owner).execute().data
22+
actual_owner = SUPABASE_DB.client.table('dmp_issues').select('id','title','repo_owner').like('repo_owner',owner).execute().data
2323
repo_owner =actual_owner[0]['repo_owner'] if actual_owner else ""
2424
#create url with repo owner
2525
url = f"https://github.com/{repo_owner}" if repo_owner else None

0 commit comments

Comments
 (0)