File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
monobank_api_client/fastapi_mono Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 77from async_mono .manager import AsyncMonoManager
88
99
10- router = APIRouter (tags = ["Mono" ])
10+ router = APIRouter (tags = ["Mono" ], prefix = "/mono" )
1111
1212
13- @router .post ("/add-mono " )
13+ @router .post ("/add" )
1414async def add_monobank (
1515 schema : MonoSchema , session : AsyncSession = Depends (async_session )
1616) -> Dict :
@@ -22,7 +22,7 @@ async def add_monobank(
2222 return exception
2323
2424
25- @router .put ("/change-mono " )
25+ @router .put ("/change" )
2626async def change_monobank (
2727 user : str ,
2828 schema : MonoSchemaUpdate ,
@@ -36,7 +36,7 @@ async def change_monobank(
3636 return exception
3737
3838
39- @router .delete ("/delete-mono " )
39+ @router .delete ("/delete" )
4040async def delete_monobank (
4141 user : str , session : AsyncSession = Depends (async_session )
4242) -> Dict :
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ def readme():
88
99setup (
1010 name = "monobank_api_client" ,
11- version = "1.2.2 " ,
11+ version = "1.2.3 " ,
1212 author = "ihor.sotnyk" ,
1313 author_email = "ihor.sotnyk@onix-systems.com" ,
1414 description = "This module is designed for quick interaction with the monobank API." ,
You can’t perform that action at this time.
0 commit comments