Browse Source

fixed typo

master
Fr3deric 6 years ago
parent
commit
fa40c8183b
  1. 2
      journalmarks/journalmarks.py

2
journalmarks/journalmarks.py

@ -145,7 +145,7 @@ def index(): @@ -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']

Loading…
Cancel
Save