Browse Source

Add guard

pull/2696/head
Thomas 2 years ago
parent
commit
5d1b7c48ed
  1. 2
      apps/api/src/app/user/user.service.ts

2
apps/api/src/app/user/user.service.ts

@ -60,7 +60,7 @@ export class UserService {
PROPERTY_SYSTEM_MESSAGE PROPERTY_SYSTEM_MESSAGE
)) as SystemMessage; )) as SystemMessage;
if (systemMessageProperty?.targetGroups?.includes(subscription.type)) { if (systemMessageProperty?.targetGroups?.includes(subscription?.type)) {
systemMessage = systemMessageProperty; systemMessage = systemMessageProperty;
} }

Loading…
Cancel
Save