mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-01-08 19:35:40 +00:00
fix: Accounts API is broken (#996)
This commit is contained in:
parent
c246775ffe
commit
b8ee91ab9a
@ -47,7 +47,7 @@ class UserDetailedSchema(Schema):
|
|||||||
lastname = fields.String()
|
lastname = fields.String()
|
||||||
email = fields.String()
|
email = fields.String()
|
||||||
role = fields.Embed(schema=RoleSchema)
|
role = fields.Embed(schema=RoleSchema)
|
||||||
accounts = fields.Embed(schema=AccountSummarySchema)
|
accounts = fields.Embed(schema=AccountSummarySchema, many=True)
|
||||||
|
|
||||||
class AccountSchema(Schema):
|
class AccountSchema(Schema):
|
||||||
id = fields.Integer()
|
id = fields.Integer()
|
||||||
|
Loading…
Reference in New Issue
Block a user