fix attribute access in user api

This commit is contained in:
Fabian Dill 2020-12-06 14:05:47 +01:00
parent e98a8cae9a
commit a5d00e17c9
1 changed files with 1 additions and 1 deletions

View File

@ -28,6 +28,6 @@ def get_seeds():
response.append({
"seed_id": seed.id,
"creation_time": seed.creation_time,
"players": seed.multidata.names if seed.multidata else [["Singleplayer"]],
"players": seed.multidata["names"] if seed.multidata else [["Singleplayer"]],
})
return jsonify(response)