Skip to content

Commit

Permalink
Merge pull request #1443 from chaoss/api-docs-fixes
Browse files Browse the repository at this point in the history
Api Docs Fixes
  • Loading branch information
sgoggins authored Aug 20, 2021
2 parents d44acca + 6321e19 commit bbffbc4
Show file tree
Hide file tree
Showing 2 changed files with 1,836 additions and 1,923 deletions.
4 changes: 2 additions & 2 deletions augur/routes/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def get_repos_in_repo_group(repo_group_id):
status=200,
mimetype="application/json")

@server.app.route('/{}/owner/<owner>/name/<repo>'.format(server.api_version))
@server.app.route('/{}/owner/<owner>/repo/<repo>'.format(server.api_version))
def get_repo_by_git_name(owner, repo):

get_repo_by_git_name_sql = s.sql.text("""
Expand Down Expand Up @@ -191,7 +191,7 @@ def get_issues(repo_group_id, repo_id=None):
repo_name
FROM issues JOIN repo ON issues.repo_id = repo.repo_id, issue_events
WHERE issues.repo_id = :repo_id
AND issues.pull_request IS NULL
AND issues.pull_request IS NULL
AND issues.issue_id = issue_events.issue_id
GROUP BY issues.issue_id, repo_name
ORDER by OPEN_DAY DESC
Expand Down
Loading

0 comments on commit bbffbc4

Please sign in to comment.