From 05c739cd56f59137a958adcc49891fe94a6ee516 Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Sun, 31 May 2026 23:35:44 +0400 Subject: [PATCH] removed unused --- src/app/pages/fastcheck-page/fastcheck-page.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/pages/fastcheck-page/fastcheck-page.ts b/src/app/pages/fastcheck-page/fastcheck-page.ts index 5f8a684..09bbabb 100644 --- a/src/app/pages/fastcheck-page/fastcheck-page.ts +++ b/src/app/pages/fastcheck-page/fastcheck-page.ts @@ -277,7 +277,13 @@ export class FastcheckPage { event.preventDefault(); const id = this.partnerId() || this.defaultPartnerId; - const sessionId = localStorage.getItem('fc_session') ?? ''; + const sessionId = (localStorage.getItem('fc_session') ?? '').trim(); + + if (!sessionId) { + this.openAuth('new'); + return; + } + const headers: Record = { Authorization: JSON.stringify({ sessionID: sessionId, partnerID: id }) };