feat: add userid to itercom and post to logout

This commit is contained in:
Zamitto 2024-11-08 19:47:28 -03:00
parent 981dbceb93
commit 8a67492cf8
2 changed files with 4 additions and 0 deletions

View file

@ -112,6 +112,8 @@ export class HydraApi {
expirationTimestamp: 0,
subscription: null,
};
this.post("/auth/logout", {}, { needsAuth: false }).catch(() => {});
}
static async setupApi() {