Skip to content

Commit

Permalink
int
Browse files Browse the repository at this point in the history
int
  • Loading branch information
JabLuszko committed Sep 16, 2024
1 parent 65bacc9 commit 02d82ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mapadroid/webhook/webhookworker.py
Original file line number Diff line number Diff line change
Expand Up @@ -793,9 +793,9 @@ def __prepare_station_data(self, session: AsyncSession, _timestamp: int):
}

if station.battle_spawn is not None:
station_payload["battle_spawn"] = station.battle_spawn
station_payload["battle_start"] = station.battle_window_start.timestamp()
station_payload["battle_end"] = station.battle_window_end.timestamp()
station_payload["battle_spawn"] = int(station.battle_spawn.timestamp())
station_payload["battle_start"] = int(station.battle_window_start.timestamp())
station_payload["battle_end"] = int(station.battle_window_end.timestamp())
station_payload["battle_level"] = station.battle_level

if station.battle_pokemon_id is not None:
Expand Down

0 comments on commit 02d82ba

Please sign in to comment.