修复单词拼写错误的问题

This commit is contained in:
dushixiang
2022-03-05 16:39:40 +08:00
parent 1ef84efaa9
commit 4baaeea3fd
14 changed files with 40 additions and 13 deletions

View File

@ -4,6 +4,7 @@ import (
"context"
"encoding/base64"
"encoding/json"
"next-terminal/server/constant"
"next-terminal/server/config"
"next-terminal/server/env"
@ -260,3 +261,7 @@ func (s assetService) UpdateById(id string, m echo.Map) error {
})
}
func (s assetService) FixSshMode() error {
return repository.AssetRepository.UpdateAttrs(context.TODO(), "ssh-mode", "naive", constant.Native)
}