1
0
mirror of https://github.com/bitwarden/server synced 2025-12-12 14:23:38 +00:00

PM-10564: Nullable identifier in IPushNotificationService

This commit is contained in:
Maciej Zieniuk
2024-11-21 23:05:46 +00:00
parent 3885885d5f
commit 1285a7e994
6 changed files with 12 additions and 12 deletions

View File

@@ -236,14 +236,14 @@ public class NotificationsApiPushNotificationService : BaseIdentityClientService
return currentContext?.DeviceIdentifier;
}
public Task SendPayloadToUserAsync(string userId, PushType type, object payload, string identifier,
public Task SendPayloadToUserAsync(string userId, PushType type, object payload, string? identifier,
string? deviceId = null, ClientType? clientType = null)
{
// Noop
return Task.FromResult(0);
}
public Task SendPayloadToOrganizationAsync(string orgId, PushType type, object payload, string identifier,
public Task SendPayloadToOrganizationAsync(string orgId, PushType type, object payload, string? identifier,
string? deviceId = null, ClientType? clientType = null)
{
// Noop