mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
fix attribute access in user api
This commit is contained in:
@@ -28,6 +28,6 @@ def get_seeds():
|
|||||||
response.append({
|
response.append({
|
||||||
"seed_id": seed.id,
|
"seed_id": seed.id,
|
||||||
"creation_time": seed.creation_time,
|
"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)
|
return jsonify(response)
|
Reference in New Issue
Block a user