Minor cleanup and fixes

Signed-off-by: Sean Du <do4suki@gmail.com>
This commit is contained in:
2026-06-05 06:53:48 +08:00
parent c4f1686abb
commit acd9be627e
48 changed files with 4279 additions and 4245 deletions
+2 -2
View File
@@ -4,10 +4,10 @@ import (
"encoding/json"
"honoka-chan/internal/constant"
"honoka-chan/internal/middleware"
usermodel "honoka-chan/internal/model/user"
"honoka-chan/internal/router"
commonschema "honoka-chan/internal/schema/common"
liveschema "honoka-chan/internal/schema/live"
liverecordschema "honoka-chan/internal/schema/liverecord"
"honoka-chan/internal/session"
honokautils "honoka-chan/internal/utils"
"honoka-chan/pkg/utils"
@@ -173,7 +173,7 @@ func preciseScore(ctx *gin.Context) {
}
// DeckInfo
var deckInfo usermodel.DeckInfo
var deckInfo liverecordschema.DeckInfo
err = json.Unmarshal([]byte(record.DeckInfoJSON), &deckInfo)
if ss.CheckErr(err) {
return