This commit is contained in:
Efstratios Giannopoulos 2024-05-14 15:02:51 +03:00
parent a243427b4b
commit 36e15fe2e5
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ public class MessageBuilderServiceImpl implements MessageInfoBuilderService {
if (messageInfo.getTimeZone() == null || messageInfo.getTimeZone().isBlank()) messageInfo.setTimeZone(this.localeService.timezoneName());
if (this.scope.isMultitenant()) {
if (this.scope.isDefaultTenant()) {
if (!this.scope.isDefaultTenant()) {
TenantEntity tenantInfo = this.queryFactory.query(TenantQuery.class)
.isActive(IsActive.Active).firstAs(new BaseFieldSet(TenantEntity._id, TenantEntity._code));