From 140afe10fe32e62c314f4ab2368f422eca16aac8 Mon Sep 17 00:00:00 2001 From: Anton Sarukhanov <code@ant.sr> Date: Wed, 2 Nov 2016 00:02:12 -0400 Subject: [PATCH] Better success message --- api/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app.py b/api/app.py index d68758a..59bfffd 100644 --- a/api/app.py +++ b/api/app.py @@ -51,7 +51,7 @@ def api_contact(): name=request.form['name'], text=request.form['text'])) db.session.commit() - return 'ok' + return 'Thanks for your message! I\'ll respond as soon as I can.' @app.context_processor def cp_is_admin(): -- GitLab