summaryrefslogtreecommitdiff
path: root/internal/web/customcss.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/customcss.go')
-rw-r--r--internal/web/customcss.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/web/customcss.go b/internal/web/customcss.go
index b23ebce8e..b4072f2a7 100644
--- a/internal/web/customcss.go
+++ b/internal/web/customcss.go
@@ -34,7 +34,7 @@ func (m *Module) customCSSGETHandler(c *gin.Context) {
return
}
- targetUsername, errWithCode := apiutil.ParseWebUsername(c.Param(apiutil.WebUsernameKey))
+ targetUsername, errWithCode := apiutil.ParseUsername(c.Param(apiutil.UsernameKey))
if errWithCode != nil {
apiutil.WebErrorHandler(c, errWithCode, m.processor.InstanceGetV1)
return