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

@@ -177,6 +177,11 @@ func (v *verificationRepository) Create(ctx context.Context, params sqlc.CreateU
}
_ = v.c.Del(ctx, fmt.Sprintf("verification:userId:%s", convert.UUIDToString(params.UserID)))
go func() {
bgCtx := context.Background()
_ = v.c.DelByPattern(bgCtx, "verification:count*")
}()
return &verification, nil
}