Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix linter

Steven6b14d875211d
diff --git a/store/migrator.go b/store/migrator.go
index 2186598f7..0eedcdb9b 100644
--- a/store/migrator.go
+++ b/store/migrator.go
@@ -25,6 +25,7 @@ func (s *Store) MigrateWorkspaceSetting(ctx context.Context) error {
for _, workspaceSetting := range workspaceSettings {
matched := true
var baseValue any
+ // nolint
json.Unmarshal([]byte(workspaceSetting.Value), &baseValue)
if workspaceSetting.Name == "allow-signup" {
workspaceGeneralSetting.DisallowSignup = baseValue.(bool)