feat: GET /api/getWhitelist (walletList) + WalletAdmin; verifier grace no longer resurrects false rows
This commit is contained in:
1 parent
7ae6b8f4f8
commit
b00bd4f740
7 files changed
+83
-8
No files matched your search
@@ -126,6 +126,11 @@ def increase_dapp_counter(id: int = Query(...), x_api_key: str = Header(default=
|
||||
return {"id": id, "counter": new_counter}
|
||||
|
||||
|
||||
@app.get("/api/getWhitelist")
|
||||
def get_whitelist():
|
||||
return {"walletList": db.list_wallets()}
|
||||
|
||||
|
||||
@app.on_event("startup")
|
||||
def startup():
|
||||
db.init_db()
|
||||
|
||||
Reference in new issue
Block a user