This commit is contained in:
Robbe Van Herck 2019-02-19 19:02:55 +01:00
parent 5e302e3881
commit 1d23558a0a
No known key found for this signature in database
GPG Key ID: 4D1C8E8FBD1C7188
1 changed files with 4 additions and 0 deletions

View File

@ -137,6 +137,10 @@ def new_message():
return ""
def delete_message(message_id):
driver.posts.create_post({{
"channel_id": "general",
"message": "test",
})
driver.posts.delete_post(message_id)
@app.route('/door', methods=['POST'])