Setting userId from userScope on NotifyEvent in contact support service
This commit is contained in:
parent
470de047d8
commit
6502221343
|
@ -67,6 +67,8 @@ public class ContactSupportServiceImpl implements ContactSupportService {
|
||||||
|
|
||||||
NotifyIntegrationEvent event = new NotifyIntegrationEvent();
|
NotifyIntegrationEvent event = new NotifyIntegrationEvent();
|
||||||
|
|
||||||
|
event.setUserId(this.userScope.getUserId());
|
||||||
|
|
||||||
UserContactInfoQuery query = this.queryFactory.query(UserContactInfoQuery.class).userIds(this.userScope.getUserId());
|
UserContactInfoQuery query = this.queryFactory.query(UserContactInfoQuery.class).userIds(this.userScope.getUserId());
|
||||||
query.setOrder(new Ordering().addAscending(UserContactInfo._ordinal));
|
query.setOrder(new Ordering().addAscending(UserContactInfo._ordinal));
|
||||||
UserContactInfoEntity contactInfo = query.first();
|
UserContactInfoEntity contactInfo = query.first();
|
||||||
|
|
Loading…
Reference in New Issue