Sfoglia il codice sorgente

Correct spelling of “toggle”

Benjamin Barenblat 6 anni fa
parent
commit
cb494ac416
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      storage/entry.go

+ 1 - 1
storage/entry.go

@@ -259,7 +259,7 @@ func (s *Storage) ToggleBookmark(userID int64, entryID int64) error {
 
 	count, err := result.RowsAffected()
 	if err != nil {
-		return fmt.Errorf(`store: unable to toogle bookmark flag for entry #%d: %v`, entryID, err)
+		return fmt.Errorf(`store: unable to toggle bookmark flag for entry #%d: %v`, entryID, err)
 	}
 
 	if count == 0 {