rename endpoint to avoid collision
This commit is contained in:
parent
0331861cc6
commit
3fd66f38da
1 changed files with 4 additions and 4 deletions
|
|
@ -23,7 +23,7 @@ from .crud import (
|
||||||
)
|
)
|
||||||
from .models import CreateUserData, CreateUserWallet
|
from .models import CreateUserData, CreateUserWallet
|
||||||
|
|
||||||
### Users
|
# Users
|
||||||
|
|
||||||
|
|
||||||
@usermanager_ext.get("/api/v1/users", status_code=HTTPStatus.OK)
|
@usermanager_ext.get("/api/v1/users", status_code=HTTPStatus.OK)
|
||||||
|
|
@ -72,7 +72,7 @@ async def api_usermanager_users_delete(
|
||||||
raise HTTPException(status_code=HTTPStatus.NO_CONTENT)
|
raise HTTPException(status_code=HTTPStatus.NO_CONTENT)
|
||||||
|
|
||||||
|
|
||||||
###Activate Extension
|
# Activate Extension
|
||||||
|
|
||||||
|
|
||||||
@usermanager_ext.post("/api/v1/extensions")
|
@usermanager_ext.post("/api/v1/extensions")
|
||||||
|
|
@ -88,7 +88,7 @@ async def api_usermanager_activate_extension(
|
||||||
return {"extension": "updated"}
|
return {"extension": "updated"}
|
||||||
|
|
||||||
|
|
||||||
###Wallets
|
# Wallets
|
||||||
|
|
||||||
|
|
||||||
@usermanager_ext.post("/api/v1/wallets")
|
@usermanager_ext.post("/api/v1/wallets")
|
||||||
|
|
@ -107,7 +107,7 @@ async def api_usermanager_wallets(wallet: WalletTypeInfo = Depends(get_key_type)
|
||||||
return [wallet.dict() for wallet in await get_usermanager_wallets(admin_id)]
|
return [wallet.dict() for wallet in await get_usermanager_wallets(admin_id)]
|
||||||
|
|
||||||
|
|
||||||
@usermanager_ext.get("/api/v1/wallets/{wallet_id}")
|
@usermanager_ext.get("/api/v1/transactions/{wallet_id}")
|
||||||
async def api_usermanager_wallet_transactions(
|
async def api_usermanager_wallet_transactions(
|
||||||
wallet_id, wallet: WalletTypeInfo = Depends(get_key_type)
|
wallet_id, wallet: WalletTypeInfo = Depends(get_key_type)
|
||||||
):
|
):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue