Handle anon participants
This commit is contained in:
parent
095a50b9a4
commit
92c349a135
3 changed files with 30 additions and 7 deletions
|
|
@ -58,7 +58,13 @@ export class Logger {
|
|||
}
|
||||
}
|
||||
|
||||
public logPersonalData(name: string, age: number, background: string, experience: string) {
|
||||
public logPersonalData(
|
||||
name: string,
|
||||
age: number,
|
||||
background: string,
|
||||
experience: string,
|
||||
anonymous: boolean
|
||||
) {
|
||||
const uid = store.getState().uid;
|
||||
|
||||
this.database.ref(uid).set({
|
||||
|
|
@ -66,6 +72,7 @@ export class Logger {
|
|||
age,
|
||||
background,
|
||||
experience,
|
||||
anonymous,
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Reference in a new issue