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

View file

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