From 6a8a67560b26afc06f9fd00bf2b364f04b9f9804 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Mon, 6 May 2019 17:31:08 +0100 Subject: [PATCH] Fix API authentication --- app/controllers/api/enterprises_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/api/enterprises_controller.rb b/app/controllers/api/enterprises_controller.rb index ca828f707a..666eb0b034 100644 --- a/app/controllers/api/enterprises_controller.rb +++ b/app/controllers/api/enterprises_controller.rb @@ -1,5 +1,5 @@ module Api - class EnterprisesController < Spree::Api::BaseController + class EnterprisesController < BaseController before_filter :override_owner, only: [:create, :update] before_filter :check_type, only: :update