Skip to content

Commit

Permalink
log
Browse files Browse the repository at this point in the history
  • Loading branch information
danil212211 committed Dec 8, 2023
1 parent b513dc3 commit 310dbbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/simulation/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ async function start_simulation(io: Server) {
routesSim
}
});
console.log("update sim");
const buses = await Bus.findAll();
io.of("/").emit("buses",{buses});
},500);
Expand Down

0 comments on commit 310dbbf

Please sign in to comment.