Merge pull request #570 from emersion/patch-1

Fixes build error in README code
master
Ben Johnson 2016-07-07 10:56:26 -06:00 committed by GitHub
commit c735b38f4e
1 changed files with 1 additions and 1 deletions

View File

@ -313,7 +313,7 @@ func (s *Store) CreateUser(u *User) error {
// Generate ID for the user.
// This returns an error only if the Tx is closed or not writeable.
// That can't happen in an Update() call so I ignore the error check.
id, _ = b.NextSequence()
id, _ := b.NextSequence()
u.ID = int(id)
// Marshal user data into bytes.