Skip to content

Commit

Permalink
make payout available from API
Browse files Browse the repository at this point in the history
  • Loading branch information
yukonet committed Jul 12, 2024
1 parent 1e59812 commit 5625886
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion shkeeper/api_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ def status(crypto_name):


@bp.post("/<crypto_name>/payout")
@basic_auth_optional
@login_required
def payout(crypto_name):
req = request.get_json(force=True)
Expand Down Expand Up @@ -531,4 +532,4 @@ def decryption_key():
else:
return { "status": "error", "message": "Invalid decryption key" }
else:
return { "status": "error", "message": "Wallet is not encrypted" }
return { "status": "error", "message": "Wallet is not encrypted" }

0 comments on commit 5625886

Please sign in to comment.