Skip to content

Commit

Permalink
test server fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gilgardosh committed Aug 15, 2022
1 parent e6a1e27 commit 985bf66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/handlers/openapi/test/example_api_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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',
};
Expand Down

0 comments on commit 985bf66

Please sign in to comment.