Link seeded users to roles by code and list only clients not assigned to a branch.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 12:01:58 +05:00
parent 0788585c0e
commit fb65d35d3c
3 changed files with 11 additions and 12 deletions

View File

@@ -88,7 +88,7 @@ func (h *handler) list(c *gin.Context) {
// listClients godoc
// @Summary List client users
// @Description Returns paginated users from the users table with role user
// @Description Returns paginated client users (role user, not assigned to any branch)
// @Tags user
// @Produce json
// @Security BearerAuth