chore: add logging for weather updates request with user uuid
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user