From 0cd753672579a99f16941bdbe62517d0f0fb6c6d Mon Sep 17 00:00:00 2001 From: Benjamin Dupont <4503241+Benjozork@users.noreply.github.com> Date: Sat, 5 Aug 2023 11:05:38 -0400 Subject: [PATCH] Make unlink account actually clear persistent properties --- fbw-common/src/systems/shared/src/navigraph/client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fbw-common/src/systems/shared/src/navigraph/client.ts b/fbw-common/src/systems/shared/src/navigraph/client.ts index c7e78649c4f..315cd508e69 100644 --- a/fbw-common/src/systems/shared/src/navigraph/client.ts +++ b/fbw-common/src/systems/shared/src/navigraph/client.ts @@ -100,6 +100,8 @@ export class NavigraphClient { this.accessToken = null; this.userName = ''; this.auth = NAVIGRAPH_DEFAULT_AUTH_STATE; + NXDataStore.set('NAVIGRAPH_REFRESH_TOKEN', ''); + NXDataStore.set('NAVIGRAPH_USERNAME', ''); } private async tokenCall(body): Promise {