Skip to content

Commit

Permalink
Use group_array for writing role
Browse files Browse the repository at this point in the history
  • Loading branch information
suprjinx committed Nov 9, 2024
1 parent f9ba077 commit 5bf0c07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/interactors/write_secret.rb
Original file line number Diff line number Diff line change
@@ -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")
Expand Down

0 comments on commit 5bf0c07

Please sign in to comment.