diff --git a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/RoomController.java b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/RoomController.java index fb42037..8d083d9 100644 --- a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/RoomController.java +++ b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/controller/RoomController.java @@ -79,7 +79,7 @@ public class RoomController { * id). */ @GetMapping(path = "/{roomId}/devices") - public @ResponseBody List getDevices(@PathVariable("roomId") long roomid) { + public List getDevices(@PathVariable("roomId") long roomid) { return deviceRepository.findByRoomId(roomid); } }