Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: lindseymoore <71525840+lindseymoore@users.noreply.github.com>
  • Loading branch information
cbullinger and lindseymoore authored Sep 25, 2023
1 parent 6760d1c commit 4c31c13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion source/sdk/kotlin/users/authenticate-users.txt
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ property:
.. literalinclude:: /examples/generated/kotlin/AuthenticationTest.snippet.retrieve-current-user.kt
:language: kotlin.

Use this to login offline or :ref:`call an Atlas Function
Use this to log in offline or :ref:`call an Atlas Function
<kotlin-call-function>` upon subsequent app opens.

The ``currentUser`` object is persisted in local storage, so even
Expand Down
4 changes: 2 additions & 2 deletions source/sdk/kotlin/users/delete-users.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ The ``user.remove()`` method acts as follows:
- Deletes synced realms associated with the user from the device.
- Sets the
`User.State <{+kotlin-sync-prefix+}io.realm.kotlin.mongodb/-user/-state/index.html>`__
to ``REMOVED``
to ``REMOVED``.

Because removing a user deletes any synced realms owned by the user, you
should only call this method after closing the user's realms.
Expand All @@ -55,7 +55,7 @@ method on a logged-in user:

The ``user.delete()`` method performs the following:

- deletes synced realms associated with the user from the device
- Deletes synced realms associated with the user from the device.
- deletes the ``User`` object from the Atlas App Services server
- sets the
`User.State <{+kotlin-sync-prefix+}io.realm.kotlin.mongodb/-user/-state/index.html>`__
Expand Down

0 comments on commit 4c31c13

Please sign in to comment.