feat: use cerberus schemas to validate POST data

This commit is contained in:
Eneko Illarramendi
2020-04-11 20:16:54 +02:00
parent 949f816a78
commit 4397a6cab3
7 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import importlib
import os
wallets_module = importlib.import_module(f"lnbits.wallets")
wallets_module = importlib.import_module("lnbits.wallets")
wallet_class = getattr(wallets_module, os.getenv("LNBITS_BACKEND_WALLET_CLASS", "LntxbotWallet"))
LNBITS_PATH = os.path.dirname(os.path.realpath(__file__))