i guess noctua removed this
This commit is contained in:
parent
43f4c0f727
commit
29b51a63e2
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class ApplicationController < ActionController::Base
|
|||
end
|
||||
|
||||
def current_client
|
||||
@current_client ||= Client.find_by key: request.headers["X-API-KEY"]
|
||||
@current_client ||= Client.find_by key: (request.headers["X_API_KEY"] || request.headers["HTTP_X_API_KEY"])
|
||||
end
|
||||
|
||||
def current_ability
|
||||
|
|
Loading…
Reference in a new issue