Skip to content

Commit 35d950a

Browse files
committed
org name issue fix
1 parent 6f597e4 commit 35d950a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

v2_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def get_issues_by_owner_id_v2(owner, issue):
7272
"mentor_id": dmp_issue_id['mentor_username'] ,
7373
"contributor":define_link_data(cont_details),
7474
# "contributor_id": cont_details[0]['contributor_id'],
75-
"org": define_link_data(repo_owner),
75+
"org": define_link_data(repo_owner)[0] if repo_owner else None,
7676
"weekly_goals_html": w_goal_url,
7777
"weekly_learnings_html": w_learn_url,
7878
"overall_progress":calculate_overall_progress(week_data,12),

0 commit comments

Comments
 (0)