Skip to content
Snippets Groups Projects
Commit 7325c1cc authored by Julian Rother's avatar Julian Rother
Browse files

Fixed endpoint name I forgot when renaming them

parent 65a9a2d3
Branches
No related tags found
No related merge requests found
......@@ -143,7 +143,7 @@ def courses():
@app.route('/course/<handle>')
@app.route('/course/<int:id>')
@handle_errors('course', 'Diese Veranstaltung existiert nicht!', 404, IndexError)
@handle_errors('courses', 'Diese Veranstaltung existiert nicht!', 404, IndexError)
def course(id=None, handle=None):
if id:
courses = query('SELECT * FROM courses WHERE id = ? AND (? OR visible)', id, ismod())[0]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment