Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/src/models/Pokemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const getMadSql = q => (
'pokemon_display.pokemon AS display_pokemon_id',
'pokemon_display.form AS ditto_form',
'weather_boosted_condition AS weather',
raw('IF(calc_endminsec, 1, NULL)')
raw('IF(calc_endminsec IS NOT NULL, 1, NULL)')
.as('expire_timestamp_verified'),
raw('Unix_timestamp(disappear_time)')
.as('expire_timestamp'),
Expand Down