mirror of
https://github.com/Telecominfraproject/oopt-gnpy-api.git
synced 2025-10-28 16:52:19 +00:00
FIX: endpoints are now reachable only if version is included in the path
Change-Id: Ica5e0c52b985e234e960d712e20a6df874e66b35
This commit is contained in:
@@ -12,7 +12,6 @@ PATH_REQUEST_BASE_PATH = '/path-request'
|
||||
|
||||
|
||||
@app.route(API_VERSION + PATH_REQUEST_BASE_PATH, methods=['POST'])
|
||||
@app.route(PATH_REQUEST_BASE_PATH, methods=['POST'])
|
||||
def path_request(path_request_service: PathRequestService):
|
||||
data = request.json
|
||||
service = data['gnpy-api:service']
|
||||
|
||||
Reference in New Issue
Block a user