mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 12:11:33 -06:00
fix attribute access in user api
This commit is contained in:
@@ -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)
|
Reference in New Issue
Block a user