refactor: allow system admins to create event-type without membership (#15774)

This commit is contained in:
Lauris Skraucis authored and GitHub committed 2024-07-16 06:08:28 +00:00
1 parent 1a5a539106
commit 77519a077c
3 files changed
+9 -1

No files matched your search

@@ -60,6 +60,7 @@ export class EventTypesService_2024_04_15 {
const profileId = user.movedToProfile?.id || null;
return {
id: user.id,
role: user.role,
organizationId: user.organizationId,
organization: { isOrgAdmin },
profile: { id: profileId },
@@ -94,6 +94,7 @@ export class EventTypesService_2024_06_14 {
const profileId = user.movedToProfile?.id || null;
return {
id: user.id,
role: user.role,
organizationId: user.organizationId,
organization: { isOrgAdmin },
profile: { id: profileId },