ichieh commited on
Commit
e4ce5de
·
1 Parent(s): 1664196

Add is_table_leader field to get_all_participants response

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -384,6 +384,7 @@ def get_all_participants():
384
  'introduction': p.introduction,
385
  'table_id': p.table_id,
386
  'seat_number': p.seat_number,
 
387
  'created_at': p.created_at.strftime('%Y-%m-%d %H:%M:%S')
388
  } for p in participants],
389
  'tables': [{
 
384
  'introduction': p.introduction,
385
  'table_id': p.table_id,
386
  'seat_number': p.seat_number,
387
+ 'is_table_leader': p.is_table_leader,
388
  'created_at': p.created_at.strftime('%Y-%m-%d %H:%M:%S')
389
  } for p in participants],
390
  'tables': [{