From 6fdb3e75dad15523d996e457c216647755b29101 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Tue, 23 Jun 2020 19:06:38 +0200 Subject: Revamp one endpoint as experiment --- opendc/models/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/models/room.py') diff --git a/opendc/models/room.py b/opendc/models/room.py index 209e4e77..a4266627 100644 --- a/opendc/models/room.py +++ b/opendc/models/room.py @@ -16,7 +16,7 @@ class Room(Model): PATH = '/v1/datacenters/{datacenterId}/rooms' - TABLE_NAME = 'rooms' + COLLECTION_NAME = 'rooms' COLUMNS = ['id', 'name', 'datacenter_id', 'type', 'topology_id'] COLUMNS_PRIMARY_KEY = ['id'] -- cgit v1.2.3