diff --git a/app/stub.py b/app/stub.py index 87c958f..9bc933d 100644 --- a/app/stub.py +++ b/app/stub.py @@ -26,32 +26,28 @@ def populate_data(): "description": "Description A", "location": [48.858296, 2.294526], "files": ["file_a"], - "owner": str(user1_id), - "created_at": datetime.utcnow() + "user_id": str(user1_id) }, { "title": f"Mont St Michel", "description": "Description B", "location": [48.636111, -1.511389], "files": ["file_b"], - "owner": str(user1_id), - "created_at": datetime.utcnow() + "user_id": str(user1_id) }, { "title": f"Eiffel Tower", "description": "Description X", "location": [48.858296, 2.294526], "files": ["file_x"], - "owner": str(user2_id), - "created_at": datetime.utcnow() + "user_id": str(user2_id) }, { "title": f"Mont Saint Michel", "description": "Description Y", "location": [48.636111, -1.511389], "files": ["file_y"], - "owner": str(user2_id), - "created_at": datetime.utcnow() + "user_id": str(user2_id) } ])