From 754dd788eac4540ddc9b848bbb0d24f16f0ec6b0 Mon Sep 17 00:00:00 2001 From: MSuMshk <173331402+msumshk@users.noreply.github.com> Date: Tue, 3 Feb 2026 15:45:11 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=95=86=E6=88=B7=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=97=B6=E8=AE=BE=E7=BD=AE=E9=BB=98=E8=AE=A4=E7=BB=8F=E8=90=A5?= =?UTF-8?q?=E6=A8=A1=E5=BC=8F=E4=B8=BA=E5=90=8C=E4=B8=80=E4=B8=BB=E4=BD=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.5 --- .../App/Consumers/TenantCreatedEventConsumer.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Infrastructure/TakeoutSaaS.Infrastructure/App/Consumers/TenantCreatedEventConsumer.cs b/src/Infrastructure/TakeoutSaaS.Infrastructure/App/Consumers/TenantCreatedEventConsumer.cs index f726cb8..d17b146 100644 --- a/src/Infrastructure/TakeoutSaaS.Infrastructure/App/Consumers/TenantCreatedEventConsumer.cs +++ b/src/Infrastructure/TakeoutSaaS.Infrastructure/App/Consumers/TenantCreatedEventConsumer.cs @@ -1,5 +1,6 @@ using MassTransit; using Microsoft.Extensions.Logging; +using TakeoutSaaS.Domain.Common.Enums; using TakeoutSaaS.Domain.Merchants.Entities; using TakeoutSaaS.Domain.Merchants.Enums; using TakeoutSaaS.Domain.Merchants.Repositories; @@ -55,6 +56,7 @@ public sealed class TenantCreatedEventConsumer( City = message.City, Address = message.Address, Status = merchantStatus, + OperatingMode = OperatingMode.SameEntity, JoinedAt = message.IsSkipApproval ? DateTime.UtcNow : null, ApprovedAt = message.IsSkipApproval ? DateTime.UtcNow : null, CreatedAt = DateTime.UtcNow