Skip to content

Commit 1ab5309

Browse files
authored
feat: RSVP tracking via api (#928)
1 parent 7d5552b commit 1ab5309

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

locale/de.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@
147147
"incident":"ereignis",
148148
"include_empty":"auch_leer",
149149
"including battle changes":"inklusive Teamänderungen",
150+
"including rsvp updates":"mit rsvp updates",
150151
"including slot changes":"inklusive Platzänderungen",
151152
"individually":"individuell",
152153
"instinct":"Intuition",
@@ -290,6 +291,7 @@
290291
"Rock":"Gestein",
291292
"role":"Rolle",
292293
"Roles available":"Aktuell sind folgende Rollen verfügbar",
294+
"rsvp only":"nur rsvp",
293295
"russian":"Russisch",
294296
"s location to : ":"“ wurde gesetzt auf: ",
295297
"'s location to the following coordinates in":"“ wurde wie folgt gesetzt:",
@@ -417,6 +419,7 @@
417419
"Winter":"Winter",
418420
"with":"mit",
419421
"with move":"mit Attacke",
422+
"without rsvp updates":"ohne rsvp updates",
420423
"yellow":"gelb",
421424
"You are currently set to receive alarms in":"Folgende Gebiete sind gesetzt:",
422425
"You can start receiving alerts again using {0}{1}":"Du kannst mit {0}{1} wieder Benachrichtigungen erhalten",

src/routes/apiTrackingEgg.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ module.exports = async (fastify, options) => {
100100
clean: +defaultTo(row.clean, 0),
101101
level: +level,
102102
gym_id: row.gym_id ? row.gym_id : null,
103+
rsvp_changes: row.rsvp_changes >= 0 && row.rsvp_changes <= 2 ? row.rsvp_changes : 0,
103104
}
104105
})
105106

src/routes/apiTrackingRaid.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ module.exports = async (fastify, options) => {
106106
move: +defaultTo(row.move, 9000),
107107
evolution: +defaultTo(row.evolution, 9000),
108108
gym_id: row.gym_id ? row.gym_id : null,
109+
rsvp_changes: row.rsvp_changes >= 0 && row.rsvp_changes <= 2 ? row.rsvp_changes : 0,
109110
}
110111
})
111112

0 commit comments

Comments
 (0)