mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 16:42:50 -05: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