Commit 6b14d875 authored by Steven's avatar Steven

chore: fix linter

parent 51d58d39
...@@ -25,6 +25,7 @@ func (s *Store) MigrateWorkspaceSetting(ctx context.Context) error { ...@@ -25,6 +25,7 @@ func (s *Store) MigrateWorkspaceSetting(ctx context.Context) error {
for _, workspaceSetting := range workspaceSettings { for _, workspaceSetting := range workspaceSettings {
matched := true matched := true
var baseValue any var baseValue any
// nolint
json.Unmarshal([]byte(workspaceSetting.Value), &baseValue) json.Unmarshal([]byte(workspaceSetting.Value), &baseValue)
if workspaceSetting.Name == "allow-signup" { if workspaceSetting.Name == "allow-signup" {
workspaceGeneralSetting.DisallowSignup = baseValue.(bool) workspaceGeneralSetting.DisallowSignup = baseValue.(bool)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment