fix typos

This commit is contained in:
Dawid Wysokiński 2020-08-09 17:57:15 +02:00 committed by Kichiyaki
parent 692de15a51
commit 6327450a0b
1 changed files with 2 additions and 2 deletions

View File

@ -557,7 +557,7 @@ func (h *updateServerDataHandler) update() error {
Where("tribe.id NOT IN (?)", pg.In(ids)).
Set("exists = false").
Update(); err != nil && err != pg.ErrNoRows {
return errors.Wrap(err, "cannot update not exist tribes")
return errors.Wrap(err, "cannot update not existed tribes")
}
return tx.Commit()
})
@ -619,7 +619,7 @@ func (h *updateServerDataHandler) update() error {
Where("id NOT IN (?)", pg.In(ids)).
Set("exists = false").
Update(); err != nil && err != pg.ErrNoRows {
return errors.Wrap(err, "cannot update not exist players")
return errors.Wrap(err, "cannot update not existed players")
}
return tx.Commit()
})