Skip to content

Commit

Permalink
fix api test fail
Browse files Browse the repository at this point in the history
Signed-off-by: Bingwen Ma <mbwpony@gmail.com>
  • Loading branch information
bing0n3 committed Jul 3, 2019
1 parent 8ce2fcc commit d5953f4
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 d5953f4

Please sign in to comment.