Skip to content

Commit

Permalink
fix: use keywords for revoke_device
Browse files Browse the repository at this point in the history
  • Loading branch information
bertrmz committed Dec 11, 2024
1 parent a35d7a4 commit 13541e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/passageidentity/user_api.rb
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def revoke_device(user_id:, device_id:)
end

def delete_device(user_id:, device_id:)
revoke_device(user_id, device_id)
revoke_device(user_id: user_id, device_id: device_id)
true
end

Expand Down

0 comments on commit 13541e7

Please sign in to comment.