UPDATE: fix bug
All checks were successful
Build and Release / release (push) Successful in 1m34s

This commit is contained in:
2026-04-14 17:06:09 +07:00
parent f7925bc4ee
commit acecd1738e
9 changed files with 49 additions and 42 deletions

View File

@@ -376,7 +376,9 @@ func (u *userService) SearchUser(ctx context.Context, dto *request.SearchUserDto
return nil, err
}
return response.BuildPaginatedResponse(rows, totalRecords, dto.Page, dto.Limit), nil
users := models.UsersEntityToResponse(rows)
return response.BuildPaginatedResponse(users, totalRecords, dto.Page, dto.Limit), nil
}
func (u *userService) GetUserByID(ctx context.Context, userId string) (*response.UserResponse, error) {