Skip to content

Commit b6239f1

Browse files
committed
fix(nrfcloud): add responseId
1 parent 05e4367 commit b6239f1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/mocknRFCloud.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import {
2020
} from '@bifravst/http-api-mock/sortQueryString'
2121
import { getAllAccountsSettings } from '@hello.nrfcloud.com/nrfcloud-api-helpers/settings'
2222
import { Type } from '@sinclair/typebox'
23+
import { randomUUID } from 'node:crypto'
2324
import pRetry from 'p-retry'
2425
import { check, objectMatching, stringContaining } from 'tsmatchers'
2526

@@ -62,6 +63,7 @@ export const steps = ({
6263
new PutItemCommand({
6364
TableName: responsesTableName,
6465
Item: marshall({
66+
responseId: randomUUID(),
6567
methodPathQuery,
6668
timestamp: new Date().toISOString(),
6769
statusCode: 200,

0 commit comments

Comments
 (0)