chore(api): reorganize web assets and codegen types+handlers

This commit is contained in:
Gabe Kangas
2024-07-01 20:12:08 -07:00
parent 2ccd3aad87
commit 5cb4850fce
29 changed files with 4352 additions and 6710 deletions

View File

@@ -0,0 +1,13 @@
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)
}