mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
Change api root routes, so that they don't have a trailing slash
This commit is contained in:
parent
5469bd0ec1
commit
0d96a572e4
@ -7,7 +7,7 @@ from ..models import Job
|
||||
ns = Namespace('jobs', description='Job operations')
|
||||
|
||||
|
||||
@ns.route('/')
|
||||
@ns.route('')
|
||||
class API_Jobs(Resource):
|
||||
'''Shows a list of all jobs and lets you POST to add new job'''
|
||||
|
||||
|
@ -6,7 +6,7 @@ from .. import db
|
||||
ns = Namespace('tokens', description='Token operations')
|
||||
|
||||
|
||||
@ns.route('/')
|
||||
@ns.route('')
|
||||
class API_Tokens(Resource):
|
||||
'''Get or revoke a user authentication token'''
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user