Skip to content

Commit

Permalink
Merge pull request #55 from Code4GovTech/hotfix/repo_owner
Browse files Browse the repository at this point in the history
repo_owner hot fix
  • Loading branch information
jaanbaaz authored Sep 3, 2024
2 parents 4339643 + 61bb34d commit c521cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion v2_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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_orgs').select('id','name','repo_owner').like('name',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
Expand Down

0 comments on commit c521cfa

Please sign in to comment.