From b6df88d266866f80f2a4901c914d34cade2853b8 Mon Sep 17 00:00:00 2001 From: sdarbinyan Date: Thu, 14 May 2026 13:07:39 +0400 Subject: [PATCH] get --- src/app/pages/fastcheck-page/fastcheck-page.ts | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/app/pages/fastcheck-page/fastcheck-page.ts b/src/app/pages/fastcheck-page/fastcheck-page.ts index 1baca9c..369be17 100644 --- a/src/app/pages/fastcheck-page/fastcheck-page.ts +++ b/src/app/pages/fastcheck-page/fastcheck-page.ts @@ -209,17 +209,8 @@ export class FastcheckPage { return; } - // Pre-fill body from URL query params — partner usually forwards them. - const params = new URLSearchParams(window.location.search); - const body = { - fastcheck: params.get('fastcheck') ?? this.fastcheckNumber() ?? '', - Code: params.get('code') ?? this.fastcheckCode() ?? '', - telegramID: params.get('telegramID') ?? params.get('tg') ?? '', - callbackurl: params.get('callbackurl') ?? params.get('callback') ?? '' - }; - const url = `${FASTCHECK_STORE_API}/fastcheck/settings/${encodeURIComponent(id)}`; - this.http.post(url, body).subscribe({ + this.http.get(url).subscribe({ next: (res) => { this.settingsLoaded.set(true); this.settingsError.set('');