added api

This commit is contained in:
2026-05-13 16:05:17 +04:00
parent abb4f7b849
commit 17dfad5eaa

View File

@@ -176,7 +176,7 @@ export class CreatePage {
this.stopPolling(); this.stopPolling();
this.qrPolling.set(true); this.qrPolling.set(true);
this.pollHandle = setInterval(() => { this.pollHandle = setInterval(() => {
this.http.get<QrStatusResponse>(`${QR_VITANOVA_API}/qr/dynamic/${encodeURIComponent(this.partnerqrID)}/${qrId}/`) this.http.get<QrStatusResponse>(`${QR_VITANOVA_API}/api/qr/dynamic/${encodeURIComponent(this.partnerqrID)}/${qrId}/`)
.subscribe({ .subscribe({
next: (res) => { next: (res) => {
const st = res?.status ?? ''; const st = res?.status ?? '';