Update badger db path
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
ycc
2024-02-09 23:28:43 +01:00
parent b87c0bff3e
commit 423ef5c4b1
2 changed files with 3 additions and 2 deletions

View File

@ -279,7 +279,7 @@ func (id *Identity) SaveBackgroundJob() error {
if err != nil {
return err
}
err = os.WriteFile(filepath.Join(GetConfig().StoragePath, ".jobs"), jsonjobs, 0644)
err = os.WriteFile(filepath.Join(GetConfig().StoragePath, ".jobs"), jsonjobs, 0600)
if err != nil {
return err
}