mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
Added the before_request so that all calls must have a valid token.
Next is to get all the rest tests to pass again.
This commit is contained in:
@@ -4,7 +4,7 @@ from flask import Blueprint
|
||||
status = Blueprint('status', __name__)
|
||||
|
||||
|
||||
@status.route('/_status')
|
||||
@status.route('/_status', methods=['GET', 'POST'])
|
||||
def show_status():
|
||||
return jsonify(
|
||||
status="ok",
|
||||
|
||||
Reference in New Issue
Block a user