From 985bf66183453809b57e96d18ca84ac808252490 Mon Sep 17 00:00:00 2001 From: gilgardosh Date: Thu, 11 Aug 2022 09:31:13 +0300 Subject: [PATCH] test server fix --- packages/handlers/openapi/test/example_api_server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/handlers/openapi/test/example_api_server.ts b/packages/handlers/openapi/test/example_api_server.ts index f489027069ab9..341cbb7e40824 100644 --- a/packages/handlers/openapi/test/example_api_server.ts +++ b/packages/handlers/openapi/test/example_api_server.ts @@ -523,7 +523,7 @@ export function startServer(PORT: number) { app.get('/api/products/:id', (req, res) => { if (typeof req.params.id !== 'undefined' && typeof req.query['product-tag'] !== 'undefined') { const product = { - product_id: req.params.id, + 'product-id': req.params.id, 'product-tag': req.query['product-tag'], 'product-name': 'Super Product', };