Skip to content

Commit

Permalink
Scout commit typo
Browse files Browse the repository at this point in the history
Co-authored-by: Jean-Baptiste Feldis <[email protected]>
  • Loading branch information
skelz0r and jbfeldis committed Jan 27, 2025
1 parent dc6dcba commit 425208c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/api/v1/authorization_requests_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def index
each_serializer: API::V1::AuthorizationRequestSerializer,
status: :ok
else
render_error(404, title: 'Non trouvé', detail: 'Aucune demande n\'a été trouvé')
render_error(404, title: 'Non trouvé', detail: 'Aucune demande n\'a été trouvée')
end
end

Expand All @@ -23,7 +23,7 @@ def show
serializer: API::V1::AuthorizationRequestSerializer,
status: :ok
rescue ActiveRecord::RecordNotFound
render_error(404, title: 'Non trouvé', detail: 'Aucune demande n\'a été trouvé')
render_error(404, title: 'Non trouvé', detail: 'Aucune demande n\'a été trouvée')
end

private
Expand Down

0 comments on commit 425208c

Please sign in to comment.