Skip to content

Commit

Permalink
chore(ioutils.go): fix typo on function params
Browse files Browse the repository at this point in the history
  • Loading branch information
deadpyxel committed Nov 16, 2023
1 parent f02769d commit c5cd71f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/ioutils.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ import (
// if err != nil {
// log.Fatal(err)
// }
func SaveEntries(jounalEntries []JournalEntry, filename string) error {
data, err := json.Marshal(jounalEntries)
func SaveEntries(journalEntries []JournalEntry, filename string) error {
data, err := json.Marshal(journalEntries)
if err != nil {
return err
}
Expand Down

0 comments on commit c5cd71f

Please sign in to comment.