This commit is contained in:
Aran Zaiger 2015-06-24 01:16:51 +03:00
parent dc6070fe29
commit 90909c7c2f
2 changed files with 3 additions and 1 deletions

View file

@ -83,7 +83,9 @@ def create_campus(token):
return bad_request()
send_create_campus_request(user.email, user.name, campus.title)
db.put(campus)
notify_se_hub_campus_request(campus, campus.title)
db.delete(campus)
return ok()

View file

@ -105,7 +105,7 @@ def notify_se_hub_campus_request(campus, campus_name):
message.body = """
a new Campus request
"""+str(campus.to_JSON())
""" + str(campus.to_JSON())
message.html = """
<html><head></head><body>