diff --git a/internal/handlers/auth.go b/internal/handlers/auth.go index afc1412..4f40ddd 100644 --- a/internal/handlers/auth.go +++ b/internal/handlers/auth.go @@ -554,7 +554,7 @@ func (h *AuthHandler) ListUsers(c echo.Context) error { }) } - return c.JSON(http.StatusOK, userList) + return c.JSON(http.StatusOK, map[string]interface{}{"data": userList}) } type AddEbookFolderRequest struct {