feat: allow to restore all products at once

This commit is contained in:
Vlad Stan 2023-07-13 14:44:39 +03:00
parent 65b19845d1
commit d0b2ec1250
3 changed files with 9 additions and 1 deletions

View file

@ -219,7 +219,7 @@ async def api_republish_merchant(
@nostrmarket_ext.put("/api/v1/merchant/{merchant_id}/toggle")
async def api_republish_merchant(
async def api_toggle_merchant(
merchant_id: str,
wallet: WalletTypeInfo = Depends(require_admin_key),
) -> Merchant: