Skip to content

Commit 56d630c

Browse files
committed
fixup! fixup! fixup! Fix csv export
1 parent cebfbd5 commit 56d630c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/routes/admin.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ async def admin_list_csv(
289289
statement = select(UserModel).options(selectinload(UserModel.discord))
290290
data = session.exec(statement)
291291

292-
output = "id, first_name, surname, shirt_size, discord_username, experience, waitlist, comments, team_name, availability, team_number, assigned_run\n"
292+
output = "id, first_name, last_name, email, shirt_size, discord_username, experience, waitlist, comments, team_name, availability, team_number, assigned_run \n"
293293
for user in data:
294294
user = user_to_dict(user)
295295
output += f'"{user.get("id")}", '

0 commit comments

Comments
 (0)