So I'm using IONIC/Angular to register an user. That works. But what kind of http param do I need to set in order to create a profile key in the user document data? For example I want to add "name". So when I do the login request, I will get the "name" in the profile object.
My code (Angular)
const body = new HttpParams()
.set('name', name)
.set('username', username.toLowerCase())
.set('email', email.toLowerCase())
.set('password', password)
.set('confirmPassword', password)
.set('profile.name', name)
;
So I'm using IONIC/Angular to register an user. That works. But what kind of http param do I need to set in order to create a profile key in the user document data? For example I want to add "name". So when I do the login request, I will get the "name" in the profile object.
My code (Angular)