fix: await
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user