mirror of
https://github.com/casdoor/casdoor.git
synced 2025-05-23 10:45:47 +08:00
fix: not set count of enforcers to the response (#2155)
This commit is contained in:
parent
5e4ba4f338
commit
fb16d8cee6
@ -61,7 +61,7 @@ func (c *ApiController) GetEnforcers() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
c.ResponseOk(enforcers)
|
c.ResponseOk(enforcers, paginator.Nums())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user