fix: not set count of enforcers to the response (#2155)

This commit is contained in:
Tower He 2023-07-28 14:46:11 +08:00 committed by GitHub
parent 5e4ba4f338
commit fb16d8cee6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,7 +61,7 @@ func (c *ApiController) GetEnforcers() {
return
}
c.ResponseOk(enforcers)
c.ResponseOk(enforcers, paginator.Nums())
}
}