summaryrefslogtreecommitdiff
path: root/lib/api/helpers/presentable.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api/helpers/presentable.rb')
-rw-r--r--lib/api/helpers/presentable.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/api/helpers/presentable.rb b/lib/api/helpers/presentable.rb
index a5186cc56ea..40e1b266df5 100644
--- a/lib/api/helpers/presentable.rb
+++ b/lib/api/helpers/presentable.rb
@@ -23,7 +23,7 @@ module API
def initialize(object, options = {})
options = options.opts_hash if options.is_a?(Grape::Entity::Options)
- super(object.present(options), options)
+ super(object.present(**options), options)
end
end
end