diff --git a/backend/Api/Controllers/DeviceController.cs b/backend/Api/Controllers/DeviceController.cs index b1109e8..d936fdb 100644 --- a/backend/Api/Controllers/DeviceController.cs +++ b/backend/Api/Controllers/DeviceController.cs @@ -20,7 +20,7 @@ namespace Api.Controllers } [Authorize] - [HttpGet] + [HttpGet("{userId}")] public async Task GetDevices(int userId) { List devices = await _dbAccess.ReadDevices(userId);