We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ab67ed commit 969071dCopy full SHA for 969071d
nmostesting/mocks/Registry.py
@@ -649,16 +649,6 @@ def post_subscription(version):
649
@check_enabled_and_authorization
650
def delete_subscription(version, subscription_id):
651
registry = REGISTRIES[flask.current_app.config["REGISTRY_INSTANCE"]]
652
- if not registry.enabled:
653
- abort(503)
654
- authorized, error_message = registry.check_authorization(PRIMARY_AUTH,
655
- request.path,
656
- scope="x-nmos-query",
657
- write=True)
658
-
659
- if authorized is not True:
660
- abort(authorized, description=error_message)
661
662
registry.requested_query_api_version = version
663
664
try:
0 commit comments