Handle anon participants

This commit is contained in:
Dennis Schoepf 2021-08-03 19:19:06 +02:00
parent 095a50b9a4
commit 92c349a135
3 changed files with 30 additions and 7 deletions

View file

@ -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,
});
}