mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +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()
|
||||
email = fields.String()
|
||||
role = fields.Embed(schema=RoleSchema)
|
||||
accounts = fields.Embed(schema=AccountSummarySchema)
|
||||
accounts = fields.Embed(schema=AccountSummarySchema, many=True)
|
||||
|
||||
class AccountSchema(Schema):
|
||||
id = fields.Integer()
|
||||
|
Loading…
Reference in New Issue
Block a user