lib/wcc/contentful/model_api.rb in wcc-contentful-1.1.2 vs lib/wcc/contentful/model_api.rb in wcc-contentful-1.2.0

- old
+ new

@@ -66,10 +66,10 @@ def find(id, options: nil) options ||= {} store = options[:preview] ? services.preview_store : services.store raw = _instrumentation.instrument 'find.model.contentful.wcc', id: id, options: options do - store.find(id, options.except(*WCC::Contentful::ModelMethods::MODEL_LAYER_CONTEXT_KEYS)) + store.find(id, **options.except(*WCC::Contentful::ModelMethods::MODEL_LAYER_CONTEXT_KEYS)) end new_from_raw(raw, options) if raw.present? end