FIX: endpoints are now reachable only if version is included in the path

Change-Id: Ica5e0c52b985e234e960d712e20a6df874e66b35
This commit is contained in:
Renato Ambrosone
2025-05-20 13:48:37 +02:00
parent 256341f937
commit b6041db35d

View File

@@ -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']