From a8d6bc2d9fb1457cb446f27c1772c7e7b0996547 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 14 Apr 2024 18:09:56 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20[pre-commit.ci]=20Auto=20format?= =?UTF-8?q?=20from=20pre-commit.com=20hooks?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/en/docs/how-to/async-mongodb-motor-beanie.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/docs/how-to/async-mongodb-motor-beanie.md b/docs/en/docs/how-to/async-mongodb-motor-beanie.md index 7b033b25d..8ab7da987 100644 --- a/docs/en/docs/how-to/async-mongodb-motor-beanie.md +++ b/docs/en/docs/how-to/async-mongodb-motor-beanie.md @@ -46,7 +46,7 @@ app = FastAPI() @app.post("/items/") async def create_item(item: dict) -> str: - collection = db.client.mydatabase.items + collection = db.client.mydatabase.items result = await collection.insert_one(item) return {"id": str(result.inserted_id)} ```