fix #61
This commit is contained in:
parent
dc6070fe29
commit
90909c7c2f
2 changed files with 3 additions and 1 deletions
|
@ -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()
|
||||
|
||||
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue