Skip to content

Commit f64e85b

Browse files
committed
Fix the api ninja in code generation
1 parent 15a9527 commit f64e85b

File tree

1 file changed

+1
-1
lines changed
  • backend/plugin/code_generator/templates/python

1 file changed

+1
-1
lines changed

backend/plugin/code_generator/templates/python/api.jinja

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ async def get_{{ table_name }}(
3737
],
3838
)
3939
async def get_{{ table_name }}s_paginated(db: CurrentSession) -> ResponseSchemaModel[PageData[Get{{ schema_name }}Detail]]:
40-
page_data = = await {{ table_name }}_service.get_list(db=db)
40+
page_data = await {{ table_name }}_service.get_list(db=db)
4141
return response_base.success(data=page_data)
4242

4343

0 commit comments

Comments
 (0)