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

This commit is contained in:
2026-04-28 11:03:16 +07:00
parent 67055e08cb
commit 5a4fb2e45b

View File

@@ -348,6 +348,8 @@ func (r *projectRepository) Delete(ctx context.Context, id pgtype.UUID) error {
_ = r.c.Del(ctx, fmt.Sprintf("project:id:%s", convert.UUIDToString(id)))
go func() {
bgCtx := context.Background()
_ = r.c.DelByPattern(bgCtx, "project:search*")
_ = r.c.DelByPattern(bgCtx, "project:user*")
_ = r.c.DelByPattern(bgCtx, "project:count*")
}()
return nil