Setting userId from userScope on NotifyEvent in contact support service

This commit is contained in:
Thomas Georgios Giannos 2024-01-23 11:53:49 +02:00
parent 470de047d8
commit 6502221343
1 changed files with 2 additions and 0 deletions

View File

@ -67,6 +67,8 @@ public class ContactSupportServiceImpl implements ContactSupportService {
NotifyIntegrationEvent event = new NotifyIntegrationEvent();
event.setUserId(this.userScope.getUserId());
UserContactInfoQuery query = this.queryFactory.query(UserContactInfoQuery.class).userIds(this.userScope.getUserId());
query.setOrder(new Ordering().addAscending(UserContactInfo._ordinal));
UserContactInfoEntity contactInfo = query.first();