Remove unuused parameters

This commit removes names for unusued parameters where they are no longer needed.
This commit is contained in:
Tom Wiesing 2024-04-08 22:57:25 +02:00
parent b45233b87c
commit 8ad8cf7994
No known key found for this signature in database
24 changed files with 30 additions and 30 deletions

View file

@ -34,7 +34,7 @@ type TokenTemplateContext struct {
Tokens []models.Token
}
func (panel *UserPanel) tokensRoute(ctx context.Context) http.Handler {
func (panel *UserPanel) tokensRoute(context.Context) http.Handler {
tpl := tokensTemplate.Prepare(
panel.dependencies.Templating,
templating.Crumbs(
@ -122,7 +122,7 @@ type TokenCreateContext struct {
Token *models.Token
}
func (panel *UserPanel) tokensAddRoute(ctx context.Context) http.Handler {
func (panel *UserPanel) tokensAddRoute(context.Context) http.Handler {
tplForm := tokensAddTemplate.Prepare(
panel.dependencies.Templating,
templating.Crumbs(