File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ def sign(packet_id, info):
4747def subscribe (info ):
4848 data = request .form
4949 if app .config ["REALM" ] == "csh" :
50- subscription = NotificationSubscription (token = data [' token' ], member = info ["uid" ])
50+ subscription = NotificationSubscription (token = data [" token" ], member = info ["uid" ])
5151 else :
52- subscription = NotificationSubscription (token = data [' token' ], freshman_username = info ["uid" ])
52+ subscription = NotificationSubscription (token = data [" token" ], freshman_username = info ["uid" ])
5353 db .session .add (subscription )
5454 db .session .commit ()
5555 return "Token subscribed for " + info ["uid" ]
@@ -60,8 +60,8 @@ def subscribe(info):
6060@before_request
6161def report (info ):
6262 form_results = request .form
63- send_report_mail (form_results , get_rit_name (info [' uid' ]))
64- return "Success: " + get_rit_name (info [' uid' ]) + " sent a report"
63+ send_report_mail (form_results , get_rit_name (info [" uid" ]))
64+ return "Success: " + get_rit_name (info [" uid" ]) + " sent a report"
6565
6666
6767def commit_sig (packet , was_100 , uid ):
You can’t perform that action at this time.
0 commit comments