mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-08 12:11:03 +08:00
fix: not set count of enforcers to the response (#2155)
This commit is contained in:
@@ -61,7 +61,7 @@ func (c *ApiController) GetEnforcers() {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
c.ResponseOk(enforcers)
|
c.ResponseOk(enforcers, paginator.Nums())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user