Skip to content

Commit 3e34482

Browse files
committed
Fix RTP Check before Restart and MeetingID
1 parent 0de01aa commit 3e34482

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

conditional/blueprints/attendance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@ def get_meeting_attendees(meeting_id):
408408
log.info('api', action='view past attendance submitions')
409409
offset = 0 if int(page) == 1 else ((int(page)-1)*10)
410410
limit = int(page)*10
411-
all_cm = [{"meeting_id": m.id,
411+
all_cm = [{"id": m.id,
412412
"directorship": m.committee,
413413
"dt_obj": m.timestamp,
414414
"date": m.timestamp.strftime("%a %m/%d/%Y"),

conditional/blueprints/cache_management.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
@cache_bp.route('/restart')
2727
def restart_app():
2828
user_name = request.headers.get('x-webauth-user')
29-
30-
if not ldap_is_rtp(user_name):
29+
account = ldap_get_member(user_name)
30+
if not ldap_is_rtp(account):
3131
return redirect("/dashboard")
3232

3333
logger.info('api', action='restart conditional')

0 commit comments

Comments
 (0)