We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbb5482 commit 6cdf8beCopy full SHA for 6cdf8be
packet/routes/api.py
@@ -8,7 +8,7 @@
8
from packet.mail import send_report_mail
9
from packet.utils import before_request, packet_auth, notify_slack
10
from packet.models import Packet, MiscSignature, NotificationSubscription
11
-from packet.notifications import packet_signed_notification
+from packet.notifications import packet_signed_notification, packet_100_percent_notification
12
13
14
@app.route("/api/v1/sign/<packet_id>/", methods=["POST"])
@@ -70,6 +70,7 @@ def report(info):
70
def commit_sig(packet, was_100):
71
db.session.commit()
72
if not was_100 and packet.is_100():
73
+ packet_100_percent_notification(packet)
74
notify_slack(packet.freshman.name)
75
76
return "Success: Signed Packet: " + packet.freshman_username
0 commit comments