mirror of
https://github.com/bitwarden/server
synced 2025-12-17 08:43:27 +00:00
clear token by id
This commit is contained in:
@@ -35,7 +35,7 @@ namespace Bit.Core.Services
|
||||
|
||||
public async Task ClearTokenAsync(Device device)
|
||||
{
|
||||
await _deviceRepository.ClearPushTokenByIdentifierAsync(device.Identifier);
|
||||
await _deviceRepository.ClearPushTokenAsync(device.Id);
|
||||
await _pushRegistrationService.DeleteRegistrationAsync(device.Id);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user