aboutsummaryrefslogtreecommitdiff
path: root/jb/views/wallet.py
diff options
context:
space:
mode:
Diffstat (limited to 'jb/views/wallet.py')
-rw-r--r--jb/views/wallet.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/jb/views/wallet.py b/jb/views/wallet.py
index 90e8de8..c281698 100644
--- a/jb/views/wallet.py
+++ b/jb/views/wallet.py
@@ -58,6 +58,7 @@ def cashout_confirmation_page() -> HTMLResponse:
@wallet_router.post("/cashout/confirm/", response_model=CashoutRequestInfo)
def confirm_cashout(
body: CashoutConfirmation,
+ user: Annotated[User, Depends(get_authenticated_user)],
) -> CashoutRequestInfo:
cashout = consume_cashout_token(body.token)