Current user for selfhost

Hello. We are transferring the Moralis database to selfhost. Quite successfully. But there was a question, how to get the object of the current user now?
Previously, I could refer to it: const {user} = rusamorales(); or const user = Moralis.User.current().
Now, by any of these methods, I get an object that does not contain the properties that are in my database.
i see now: image

My object contains:

this is for the same user? I see different eth addresses in those to images
that id that is of type ObjectId(‘3243’), how was created?
you should have object ids of type string for Parse Server to work as expected

These are different users. Just an example.

all users were simply copied from Moralis db. Then they are added to the new database

you can load the tables directly, if you copy row by row you have to take care at the id to be string and not an object

We didn’t copy every line.
We used your transfer method from your github. https://github.com/IAmJaysWay/mongoDBmigartion We paired all the users from Moralis db, then added them to out_file.json. Then I just ran your script and all the users were added to mongo db.

The scheme also does not match our user. many fields are missing image

you could try to do a load for that table directly with mongorestore