fix: await
This commit is contained in:
parent
9c4e0b4107
commit
1951aec5ec
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@
|
||||||
loadBuildingStatusInterval = setInterval(() => {
|
loadBuildingStatusInterval = setInterval(() => {
|
||||||
application.previewApplication.forEach((preview: any) => {
|
application.previewApplication.forEach((preview: any) => {
|
||||||
if (status[id] === 'building') {
|
if (status[id] === 'building') {
|
||||||
getStatus(preview);
|
await getStatus(preview);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}, 3000);
|
}, 3000);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue