mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 14:20:54 +03:00
14 lines
415 B
Go
14 lines
415 B
Go
|
package handler
|
||
|
|
||
|
import (
|
||
|
"net/http"
|
||
|
|
||
|
"github.com/owncast/owncast/controllers/moderation"
|
||
|
"github.com/owncast/owncast/handler/generated"
|
||
|
"github.com/owncast/owncast/router/middleware"
|
||
|
)
|
||
|
|
||
|
func (*ServerInterfaceImpl) GetUserDetails(w http.ResponseWriter, r *http.Request, userId string, params generated.GetUserDetailsParams) {
|
||
|
middleware.RequireUserModerationScopeAccesstoken(moderation.GetUserDetails)(w, r)
|
||
|
}
|