wip notif token
This commit is contained in:
parent
481b98784d
commit
b717300468
|
|
@ -21,11 +21,10 @@ export const registerMobile = () => {
|
||||||
token: string;
|
token: string;
|
||||||
};
|
};
|
||||||
|
|
||||||
console.log("mobile receive", data);
|
|
||||||
|
|
||||||
switch (data.type) {
|
switch (data.type) {
|
||||||
case "notification-token":
|
case "notification-token":
|
||||||
config.notif_token = data.token;
|
config.notif_token = data.token;
|
||||||
|
console.log(config);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue