diff --git a/api/room.py b/api/room.py index 7ead52b..5bd927d 100644 --- a/api/room.py +++ b/api/room.py @@ -6,7 +6,7 @@ class Room(object): - @inject(indexer=ElasticSearchIndex) + @inject def post(self, indexer: ElasticSearchIndex, room: dict) -> dict: """ This wil return a location, kind of 'Camden, London'.