We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b81092 commit 210c0a3Copy full SHA for 210c0a3
1 file changed
services/client_services/content_detail_service.py
@@ -9,7 +9,7 @@ async def get_content_detail(device_id: str, contents_id: str) -> dict:
9
raise HTTPException(status_code=404, detail="디바이스가 존재하지 않습니다")
10
device_ref = docs_list[0].reference
11
12
- doc = device_ref.collection("contents").document(contents_id)
+ doc = device_ref.collection("contents").document(contents_id).stream()[0]
13
data = doc.to_dict()
14
15
return {
0 commit comments