Use 'Hello world' instead of identity for notify
This commit is contained in:
2
app.py
2
app.py
@@ -132,7 +132,7 @@ def send_notification():
|
|||||||
identity = request.form.get('identity')
|
identity = request.form.get('identity')
|
||||||
notification = service.notifications.create(
|
notification = service.notifications.create(
|
||||||
identity=identity,
|
identity=identity,
|
||||||
body='Hello ' + identity + '!'
|
body='Hello world!'
|
||||||
)
|
)
|
||||||
|
|
||||||
return jsonify(message="Notification created!")
|
return jsonify(message="Notification created!")
|
||||||
|
|||||||
Reference in New Issue
Block a user