Skip to content

Commit

Permalink
Merge pull request #319 from bing0n3/dev
Browse files Browse the repository at this point in the history
Dev: fix API test fail caused by issues_closed_resolution_duration
  • Loading branch information
gabe-heim authored Jul 3, 2019
2 parents ba3b027 + d5953f4 commit f65223b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions augur/datasources/augur_db/augur_db.py
Original file line number Diff line number Diff line change
Expand Up @@ -1131,8 +1131,8 @@ def issues_closed_resolution_duration(self, repo_group_id, repo_id=None, period=
repo_name,
gh_issue_number,
issue_title,
date_trunc(:period,issues.created_at),
date_trunc(:period,issues.closed_at),
date_trunc(:period, issues.created_at) as created_at,
date_trunc(:period, issues.closed_at) as closed_at,
EXTRACT(DAY FROM closed_at - issues.created_at) AS DIFFDATE
FROM issues,
repo
Expand All @@ -1149,8 +1149,8 @@ def issues_closed_resolution_duration(self, repo_group_id, repo_id=None, period=
repo_name,
gh_issue_number,
issue_title,
date_trunc(:period, issues.created_at),
date_trunc(:period, issues.closed_at),
date_trunc(:period, issues.created_at) as created_at,
date_trunc(:period, issues.closed_at) as closed_at,
EXTRACT(DAY FROM closed_at - issues.created_at) AS DIFFDATE
FROM issues,
repo
Expand Down

0 comments on commit f65223b

Please sign in to comment.