mirror of
https://github.com/bitwarden/server
synced 2026-01-15 15:03:34 +00:00
PM-10600: Required attribute, organization group for push notification fix
This commit is contained in:
@@ -80,7 +80,7 @@ public class NotificationsHub : Microsoft.AspNetCore.SignalR.Hub
|
||||
|
||||
public static string GetOrganizationGroup(Guid organizationId, ClientType? clientType = null)
|
||||
{
|
||||
return clientType is not ClientType.All
|
||||
return clientType is null or ClientType.All
|
||||
? $"Organization_{organizationId}"
|
||||
: $"OrganizationClientType_{organizationId}_{clientType}";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user