Alibrown commited on
Commit
c102777
·
verified ·
1 Parent(s): 2b7cf34

Update app/app.py

Browse files
Files changed (1) hide show
  1. app/app.py +2 -1
app/app.py CHANGED
@@ -85,7 +85,7 @@ def handle_transfer_command(data):
85
  amount = next((float(opt.get("value")) for opt in options if opt.get("name") == "amount"), None)
86
 
87
  try:
88
- bank_system.transfer_between_accounts(user_id, target_id, amount)
89
  return jsonify({
90
  "type": 4,
91
  "data": {
@@ -108,6 +108,7 @@ bank_system.transfer_between_accounts(user_id, target_id, amount)
108
  }
109
  })
110
 
 
111
  def handle_daily_command(data):
112
  """Verarbeitet den täglichen Bonus-Befehl"""
113
  user_id = data.get("member", {}).get("user", {}).get("id")
 
85
  amount = next((float(opt.get("value")) for opt in options if opt.get("name") == "amount"), None)
86
 
87
  try:
88
+ bank_system.transfer_between_accounts(user_id, target_id, amount) # Richtige Einrückung
89
  return jsonify({
90
  "type": 4,
91
  "data": {
 
108
  }
109
  })
110
 
111
+
112
  def handle_daily_command(data):
113
  """Verarbeitet den täglichen Bonus-Befehl"""
114
  user_id = data.get("member", {}).get("user", {}).get("id")