yuripeyamashita commited on
Commit
696d3f8
1 Parent(s): 95cabe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -11,7 +11,6 @@ LINE_CHANNEL_ACCESS_TOKEN = os.environ.get("LINE_CHANNEL_ACCESS_TOKEN")
11
  message_list = {}
12
 
13
 
14
-
15
  @app.route('/', methods=['GET'])
16
  def index():
17
  return {}, 200
@@ -331,6 +330,8 @@ def get_checkout_bubble(checkout_list: list):
331
  current_pay_to_contents = []
332
  carousel_contents = []
333
 
 
 
334
  for item in checkout_list:
335
 
336
  if current_user != item.get("from"):
 
11
  message_list = {}
12
 
13
 
 
14
  @app.route('/', methods=['GET'])
15
  def index():
16
  return {}, 200
 
330
  current_pay_to_contents = []
331
  carousel_contents = []
332
 
333
+ checkout_list.append({"from": None, "to": None, "amount": 0})
334
+
335
  for item in checkout_list:
336
 
337
  if current_user != item.get("from"):