chore: fix linter
This commit is contained in:
parent
51d58d3982
commit
6b14d87521
1 changed files with 1 additions and 0 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue