Skip to content

Commit

Permalink
Fixed lint warning
Browse files Browse the repository at this point in the history
  • Loading branch information
cmaglie committed Jun 8, 2021
1 parent 464e243 commit 37d43f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/libraries/db/db.go
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ func (db *DB) Save(r io.Writer) error {
}

func (db *DB) save(r io.Writer) error {
buff, err := json.MarshalIndent(*db, "", " ")
buff, err := json.MarshalIndent(db, "", " ")
if err != nil {
return err
}
Expand Down

0 comments on commit 37d43f8

Please sign in to comment.