From 848a7ad7c679047a511be3e53c8a1c4b3f5ed081 Mon Sep 17 00:00:00 2001 From: Slava Semushin Date: Wed, 21 Feb 2024 11:07:03 +0700 Subject: [PATCH] style: correct SQL query indentation --- examples/js/express/mysql/endpoints.yaml | 4 ++-- examples/python/fastapi/postgres/routes.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/examples/js/express/mysql/endpoints.yaml b/examples/js/express/mysql/endpoints.yaml index 4cd9448..14f6488 100644 --- a/examples/js/express/mysql/endpoints.yaml +++ b/examples/js/express/mysql/endpoints.yaml @@ -37,8 +37,8 @@ , name , name_ru , slug - FROM categories - LIMIT :q.limit + FROM categories + LIMIT :q.limit dto: name: CategoryDto fields: diff --git a/examples/python/fastapi/postgres/routes.py b/examples/python/fastapi/postgres/routes.py index ea9ae28..1bce328 100644 --- a/examples/python/fastapi/postgres/routes.py +++ b/examples/python/fastapi/postgres/routes.py @@ -75,8 +75,8 @@ def get_list_v1_categories(limit, conn=Depends(db_connection)): , name , name_ru , slug - FROM categories - LIMIT %(limit)s + FROM categories + LIMIT %(limit)s """, {"limit": limit}) return cur.fetchall() finally: