api change
This commit is contained in:
@@ -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 ?? '';
|
||||||
|
|||||||
Reference in New Issue
Block a user