Skip to content

Conversation

rhymes
Copy link
Contributor

@rhymes rhymes commented Mar 31, 2019

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Documentation Update

Description

Currently the articles API breaks with a 500 error if the server is called with an unknown username because not_found is a controller method, not part of the service.

I believe it should return nothing like when the API is called with an unknown tag.

Related Tickets & Documents

Mobile & Desktop Screenshots/Recordings (if there are UI changes)

Added to documentation?

  • docs.dev.to
  • readme
  • no documentation needed

Currently the articles API breaks the server when called with an unknown username. It should return nothing like when called with an unknown tag.
@pr-triage pr-triage bot added the PR: unreviewed bot applied label for PR's with no review label Mar 31, 2019
@benhalpern benhalpern merged commit 54ccef4 into forem:master Mar 31, 2019
@pr-triage pr-triage bot added PR: reviewed-approved bot applied label for PR's where reviewer approves changes PR: merged bot applied label for PR's that are merged and removed PR: unreviewed bot applied label for PR's with no review labels Mar 31, 2019
@rhymes rhymes deleted the rhymes/fix-api-articles-unknown-username branch March 31, 2019 14:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR: merged bot applied label for PR's that are merged PR: reviewed-approved bot applied label for PR's where reviewer approves changes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants