From fa40c8183b8be581640e392981dd0f056c9fee77 Mon Sep 17 00:00:00 2001 From: Frederic Date: Fri, 2 Mar 2018 17:32:05 +0100 Subject: [PATCH] fixed typo --- journalmarks/journalmarks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/journalmarks/journalmarks.py b/journalmarks/journalmarks.py index 5ea9b5a..edb4793 100644 --- a/journalmarks/journalmarks.py +++ b/journalmarks/journalmarks.py @@ -145,7 +145,7 @@ def index(): @app.route('/create', methods=['POST']) @login_required def create(): - if len(request.json) != 1 or 'content' not in reqjest.json: + if len(request.json) != 1 or 'content' not in request.json: return ('invalid fields', 400, None) content = request.json['content']