fix attribute access in user api
This commit is contained in:
parent
e98a8cae9a
commit
a5d00e17c9
|
@ -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)
|
Loading…
Reference in New Issue