Skip to content

Commit

Permalink
multi repo hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jaanbaaz committed Sep 3, 2024
1 parent 6b1e9ec commit 61bb34d
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_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
Expand Down

0 comments on commit 61bb34d

Please sign in to comment.