Describe the bug
When attempting to delete a device from the device repository, an error code of 500 is returned.
To Reproduce
Open the device repository
Press delete device
Press confirm
Expected behavior
The device should be deleted without error and should be removed from the device repository
Testrun version: v1.1-alpha