Closed sandbergja closed 10 months ago
Here is the message in CI:
Offenses: app/controllers/concerns/blacklight/bookmarks.rb:89:162: C: [Correctable] Rails/HttpStatus: Prefer :internal_server_error over 500 to define HTTP status code. success ? render(json: { bookmarks: { count: current_or_guest_user.bookmarks.count } }) : render(json: current_or_guest_user.errors.full_messages, status: "500")
Here is the message in CI: