fix ids
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"crypto/sha256"
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"github.com/google/uuid"
|
||||
"github.com/labstack/echo/v4"
|
||||
"net/http"
|
||||
"net/url"
|
||||
@@ -35,7 +36,7 @@ func (h *Handler) GetCurrentUser(c echo.Context) error {
|
||||
|
||||
func (h *Handler) GetUserBatch(c echo.Context) error {
|
||||
var users []model.User
|
||||
var ids []uint
|
||||
var ids []uuid.UUID
|
||||
|
||||
rawIds := c.Param("ids")
|
||||
decodedIds, err := url.QueryUnescape(rawIds)
|
||||
|
||||
Reference in New Issue
Block a user