Implement DeleteDevice

pull/6201/head
Patrick Barron 4 years ago
parent 2a9474f6e7
commit 67308f489f

@ -194,6 +194,8 @@ namespace Jellyfin.Server.Implementations.Devices
public async Task DeleteDevice(Device device)
{
await using var dbContext = _dbProvider.CreateContext();
dbContext.Devices.Remove(device);
await dbContext.SaveChangesAsync().ConfigureAwait(false);
}
/// <inheritdoc />

Loading…
Cancel
Save