|
@@ -127,22 +127,6 @@ def ping() -> None:
|
127
|
127
|
return "Pong"
|
128
|
128
|
|
129
|
129
|
|
130
|
|
-PRESET_NAMES = [
|
131
|
|
- "Maarten",
|
132
|
|
- "Knoepie Draggelsturf",
|
133
|
|
- "Teddy Veenlijk",
|
134
|
|
- "Chris Kraslot",
|
135
|
|
- "Knibbe Tjakkomans",
|
136
|
|
- "Foek Lammenschaap",
|
137
|
|
-]
|
138
|
|
-
|
139
|
|
-PEOPLE = {
|
140
|
|
- index: {"id": index, "name": name, "count": 0}
|
141
|
|
- for index, name in enumerate(PRESET_NAMES)
|
142
|
|
-}
|
143
|
|
-NEXT_ID = len(PEOPLE)
|
144
|
|
-
|
145
|
|
-
|
146
|
130
|
# Person
|
147
|
131
|
@app.route("/people", methods=["GET"])
|
148
|
132
|
def get_people():
|