UPDATE: fix bug
All checks were successful
Build and Release / release (push) Successful in 1m5s

This commit is contained in:
2026-04-18 11:32:23 +07:00
parent 50b975abf6
commit 1558cf7001
3 changed files with 13 additions and 1 deletions

View File

@@ -353,6 +353,10 @@ func (r *userRepository) Delete(ctx context.Context, id pgtype.UUID) error {
fmt.Sprintf("user:email:%s", user.Email),
fmt.Sprintf("user:token:%s", user.ID),
)
go func() {
bgCtx := context.Background()
_ = r.c.DelByPattern(bgCtx, "user:count*")
}()
return nil
}