Browse Source

Add guard (#2696)

pull/2701/head
Thomas Kaul 1 year ago
committed by GitHub
parent
commit
07b0a2c40a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  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
)) as SystemMessage;
if (systemMessageProperty?.targetGroups?.includes(subscription.type)) {
if (systemMessageProperty?.targetGroups?.includes(subscription?.type)) {
systemMessage = systemMessageProperty;
}

Loading…
Cancel
Save