mirror of
https://github.com/muety/wakapi.git
synced 2023-08-10 21:12:56 +03:00
fix: include tzdata package in alpine docker image [ci-skip]
This commit is contained in:
@@ -160,10 +160,6 @@ func (r *UserRepository) Update(user *models.User) (*models.User, error) {
|
||||
return nil, err
|
||||
}
|
||||
|
||||
if result.RowsAffected != 1 {
|
||||
return nil, errors.New("nothing updated")
|
||||
}
|
||||
|
||||
return user, nil
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user