generated from VLADIMIR/template
fix
This commit is contained in:
parent
2e4bc52103
commit
3b93fd0ec2
@ -26,7 +26,7 @@ func (s *ScheduleStorage) SaveSchedule(days []*models.Day) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
if err := os.WriteFile(s.filepath, data, 0x777); err != nil {
|
if err := os.WriteFile(s.filepath, data, 0644); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
log.Printf("save story to: %s", s.filepath)
|
log.Printf("save story to: %s", s.filepath)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user