Updated permanentDelete to receive user context as the first argument (#26884)
Co-authored-by: Ezekiel <ezekielchow94@gmail.com>
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
a6aa92d149
Коммит
5746bb8df3
@@ -122,7 +122,7 @@ func (th *TestHelper) CreateUser(u *model.User) *model.User {
|
||||
}
|
||||
|
||||
func (th *TestHelper) DeleteUser(u *model.User) {
|
||||
err := th.dbStore.User().PermanentDelete(u.Id)
|
||||
err := th.dbStore.User().PermanentDelete(th.Context, u.Id)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user