beforeSave runs twice

Hello, I just did some testing with beforeSave function on Moralis.User object and it seems that it’s running twice when new user joins.
On the second run more fields such as
-ethAddress,
-accounts
-createdAt
-updatedAt
are added to the object.

On the other side, if the user is logged in, its just ran once (as expected).

probably save is run twice when user is authenticated first time

1 Like

Some docs about this would be useful.