diff --git a/app/interactors/write_secret.rb b/app/interactors/write_secret.rb index 8a8141a..6460a49 100644 --- a/app/interactors/write_secret.rb +++ b/app/interactors/write_secret.rb @@ -1,6 +1,6 @@ class WriteSecret < ApplicationInteractor def call - if secret = Services::KeyValue.write(context.identity, context.request.groups, context.request.path, context.request.data) + if secret = Services::KeyValue.write(context.identity, context.request.groups_array, context.request.path, context.request.data) context.secret = secret else context.fail!(message: "Failed to store secret")