mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 17:41:57 +08:00
Fix: ignore requiring SharePoint site ID after edit / nil pointer in user setting routers
This commit is contained in:
@@ -349,6 +349,8 @@ func UpdateOption(c *gin.Context) {
|
||||
subService = &user.DeleteWebAuthn{}
|
||||
case "theme":
|
||||
subService = &user.ThemeChose{}
|
||||
default:
|
||||
subService = &user.ChangerNick{}
|
||||
}
|
||||
|
||||
subErr = c.ShouldBindJSON(subService)
|
||||
|
||||
Reference in New Issue
Block a user