Skip to content

Commit

Permalink
Update apiTrackingRaid.js
Browse files Browse the repository at this point in the history
  • Loading branch information
ReuschelCGN authored Jan 8, 2024
1 parent 46a5a59 commit 0a8e8af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/apiTrackingRaid.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ module.exports = async (fastify, options, next) => {
team: row.team >= 0 && row.team <= 4 ? row.team : 4, // carefully chosen to get nulls/undefined to 4 but allow 0
clean: +defaultTo(+row.clean, 0),
level: +level,
form: 0,
form: +defaultTo(row.form, 0),
move: +defaultTo(row.move, 9000),
evolution: +defaultTo(row.evolution, 9000),
gym_id: row.gym_id ? row.gym_id : null,
Expand Down

0 comments on commit 0a8e8af

Please sign in to comment.