This commit is contained in:
mm 2024-10-21 14:29:38 +05:00
parent c81afb2c7e
commit 9542490cb2

View File

@ -34,7 +34,7 @@ func CreateTarget(targetService model.TargetService) echo.HandlerFunc {
func GetAllTarget(targetService model.TargetService) echo.HandlerFunc { func GetAllTarget(targetService model.TargetService) echo.HandlerFunc {
type GetAllTargetBody struct { type GetAllTargetBody struct {
StreamerID model.StreamerID `json:"streamer_id"` StreamerID model.StreamerID `json:"streamerID"`
} }
return func(request echo.Context) error { return func(request echo.Context) error {
ctx := context.Background() ctx := context.Background()