mirror of
https://github.com/owncast/owncast.git
synced 2024-11-22 12:49:37 +03:00
13 lines
444 B
Go
13 lines
444 B
Go
package handlers
|
|
|
|
import (
|
|
"net/http"
|
|
|
|
"github.com/owncast/owncast/webserver/handlers/generated"
|
|
"github.com/owncast/owncast/webserver/handlers/moderation"
|
|
"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)
|
|
}
|