aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/api_keys_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/api_keys_controller.rb')
-rw-r--r--app/controllers/api_keys_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/api_keys_controller.rb b/app/controllers/api_keys_controller.rb
index 03e5ef237..f8b96afdc 100644
--- a/app/controllers/api_keys_controller.rb
+++ b/app/controllers/api_keys_controller.rb
@@ -1,5 +1,6 @@
class ApiKeysController < BreadcrumbController
defaults resource_class: Api::V1::ApiKey
+ include PolicyChecker
def create
@api_key = Api::V1::ApiKey.new(api_key_params.merge(organisation: current_organisation))