Skip to content

Commit

Permalink
fixed type in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
damisul authored and abartov committed Nov 27, 2024
1 parent ca5092d commit 5fa02bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/api/v1/texts_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ class V1::TextsAPI < V1::ApplicationApi
post do
ids = params[:ids]
records = ManifestationsIndex.find(ids)
# If ids contains one one value, Chewy returns single object instead of array, so explicitely convert
# If ids contains only single value, Chewy returns single object instead of array, so explicitely convert
# it to single-element array
if ids.size == 1
records = [records]
Expand Down

0 comments on commit 5fa02bc

Please sign in to comment.