Skip to content

Commit 8d2f5d6

Browse files
committed
Fixed lint warning
1 parent 5068e17 commit 8d2f5d6

File tree

1 file changed

+1
-1
lines changed
  • internal/libraries/db

1 file changed

+1
-1
lines changed

internal/libraries/db/db.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func (db *DB) Save(r io.Writer) error {
234234
}
235235

236236
func (db *DB) save(r io.Writer) error {
237-
buff, err := json.MarshalIndent(*db, "", " ")
237+
buff, err := json.MarshalIndent(db, "", " ")
238238
if err != nil {
239239
return err
240240
}

0 commit comments

Comments
 (0)