Skip to content

Commit

Permalink
Fix change that was reverted during v1 namespace update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff Dutil authored and Jeff Dutil committed Apr 22, 2015
1 parent a7a3e88 commit 1e43a5d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/app/controllers/spree/api/base_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def set_content_type
end

def load_user
@current_api_user = try_spree_current_user || Spree.user_class.find_by(spree_api_key: api_key.to_s)
@current_api_user = Spree.user_class.find_by(spree_api_key: api_key.to_s)
end

def authenticate_user
Expand Down

0 comments on commit 1e43a5d

Please sign in to comment.