Skip to content

Commit 2692253

Browse files
qq
1 parent 5cac36c commit 2692253

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/nodejs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ jobs:
5353

5454
- name: Cache node_modules
5555
uses: actions/cache@v2
56+
id: cache-node-modules
5657
with:
5758
path: |
5859
**/node_modules

example-application/business-logic/order-service.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ axiosRetry(axiosHTTPClient, { retries: 3 });
1212
module.exports.addOrder = async function (newOrder) {
1313
// validation
1414
if (!newOrder.productId) {
15-
throw new AppError('invalid-order', `No product-Id specified`, 400);
15+
throw new AppError('invalid-order', `No product-id specified`, 400);
1616
}
1717

1818
// verify user existence by calling external Microservice

0 commit comments

Comments
 (0)