Skip to content

Commit 45cef15

Browse files
authored
Fix comments for clarity in users.rb (#676)
2 parents 68d9753 + bad4ecf commit 45cef15

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

lib/auth0/api/v2/users.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Auth0
22
module Api
33
module V2
4-
# Methods to use the users endpoints
4+
# Methods to use the users' endpoints
55
module Users
66
include Auth0::Mixins::Validation
77

@@ -94,10 +94,10 @@ def delete_user(user_id)
9494
# Some considerations:
9595
# The properties of the new object will replace the old ones.
9696
# The metadata fields are an exception to this rule (user_metadata and app_metadata). These properties are
97-
# merged instead of being replaced but be careful, the merge only occurs on the first level.
97+
# merged instead of being replaced, but be careful, the merge only occurs on the first level.
9898
# If you are updating email_verified, phone_verified, username or password you need to specify the connection
9999
# property too.
100-
# If your are updating email or phone_number you need to specify the connection and the client_id properties.
100+
# If you are updating email or phone_number you need to specify the connection and the client_id properties.
101101
# @see https://auth0.com/docs/api/v2#!/Users/patch_users_by_id
102102
# @param user_id [string] The user_id of the user to update.
103103
# @param body [hash] The optional parameters to update.
@@ -137,7 +137,7 @@ def delete_user_provider(user_id, provider_name)
137137
# update:current_user_identities scope. In this case only the link_with param is required in the body,
138138
# containing the JWT obtained upon the secondary account's authentication.
139139
# 2. With an API V2 generated token with update:users scope. In this case you need to send provider and user_id
140-
# in the body. Optionally you can also send the connection_id param which is suitable for identifying a
140+
# in the body. Optionally, you can also send the connection_id param, which is suitable for identifying a
141141
# particular database connection for the 'auth0' provider.
142142
# @see https://auth0.com/docs/api/v2#!/Users/post_identities
143143
# @param user_id [string] The user_id of the primary identity where you are linking the secondary account to.

0 commit comments

Comments
 (0)