api change

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

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}/api/qr/dynamic/${encodeURIComponent(this.partnerqrID)}/${qrId}/`) this.http.get<QrStatusResponse>(`${QR_VITANOVA_API}/qr/dynamic/${encodeURIComponent(this.partnerqrID)}/${qrId}`)
.subscribe({ .subscribe({
next: (res) => { next: (res) => {
const st = res?.status ?? ''; const st = res?.status ?? '';