chore: add logging for weather updates request with user uuid

This commit is contained in:
2025-12-27 18:48:27 +01:00
parent 80cad0d13b
commit 00255dc9b8
@@ -15,6 +15,7 @@ export class GetWeatherUpdatesEvent extends CustomWebsocketEvent<NoData> {
handler = async () => {
const user = this.ws.user;
console.log(`User ${user?.uuid} requested to get weather updates`);
if (user?.location && user.uuid) {
this.weatherPollingService.subscribeUser(user.uuid, user.location.lat, user.location.lon);
}