Skip to content

Commit

Permalink
change config toml names for SaveUserID and SaveGroupID
Browse files Browse the repository at this point in the history
  • Loading branch information
ilius committed Oct 28, 2024
1 parent 6bb586f commit 53bbdd7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ type Config struct {
NameLanguage string `toml:"name_language"`
Receive struct {
Directory string `toml:"directory"`
SaveUserID int `toml:"saveUserID"` // change to: save_user_id
SaveGroupID int `toml:"saveGroupID"` // change to: save_group_id
SaveUserID int `toml:"save_user_id"`
SaveGroupID int `toml:"save_group_id"`
Clipboard bool `toml:"clipboard"`
} `toml:"receive"`
Functions struct {
Expand Down
4 changes: 2 additions & 2 deletions pkg/config/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name_language = "en"

[receive]
directory = "uploads"
saveUserID = 0
saveGroupID = 0
save_user_id = 0
save_group_id = 0
clipboard = false

[functions]
Expand Down

0 comments on commit 53bbdd7

Please sign in to comment.