Skip to content

Commit e9df999

Browse files
committed
Fix typo in processor example
1 parent f8dcf85 commit e9df999

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@ Defining a custom `Processor` allows for custom callback handling of each operat
13901390
```ruby
13911391
class Api::V4::BookProcessor < JSONAPI::Processor
13921392
after_find do
1393-
unless @results.is_a?(JSONAPI::ErrorsOperationResult)
1393+
unless @result.is_a?(JSONAPI::ErrorsOperationResult)
13941394
@result.meta[:total_records_found] = @result.record_count
13951395
end
13961396
end

0 commit comments

Comments
 (0)