We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a6bfd40 commit fca80abCopy full SHA for fca80ab
internal/migrations/v30.go
@@ -291,7 +291,7 @@ func splitLegalMenu(ctx context.Context, x *xorm.Engine) error {
291
return err
292
}
293
oldSiteGeneral := &SiteGeneral{}
294
- if err := json.Unmarshal([]byte(siteInfoLogin.Content), oldSiteGeneral); err != nil {
+ if err := json.Unmarshal([]byte(siteInfoGeneral.Content), oldSiteGeneral); err != nil {
295
296
297
0 commit comments