owncast/webserver/handlers/moderation.go

13 lines
437 B
Go

package handlers
import (
"net/http"
"github.com/owncast/owncast/controllers/moderation"
"github.com/owncast/owncast/webserver/handlers/generated"
"github.com/owncast/owncast/webserver/router/middleware"
)
func (*ServerInterfaceImpl) GetUserDetails(w http.ResponseWriter, r *http.Request, userId string, params generated.GetUserDetailsParams) {
middleware.RequireUserModerationScopeAccesstoken(moderation.GetUserDetails)(w, r)
}