diff --git a/lib/passageidentity/user_api.rb b/lib/passageidentity/user_api.rb index 22cd395..dd22859 100644 --- a/lib/passageidentity/user_api.rb +++ b/lib/passageidentity/user_api.rb @@ -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