You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
;
The text was updated successfully, but these errors were encountered:
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)
The text was updated successfully, but these errors were encountered: