Skip to content

Commit

Permalink
fix(nrfcloud): add responseId
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Sep 17, 2024
1 parent 05e4367 commit b6239f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mocknRFCloud.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import {
} from '@bifravst/http-api-mock/sortQueryString'
import { getAllAccountsSettings } from '@hello.nrfcloud.com/nrfcloud-api-helpers/settings'
import { Type } from '@sinclair/typebox'
import { randomUUID } from 'node:crypto'
import pRetry from 'p-retry'
import { check, objectMatching, stringContaining } from 'tsmatchers'

Expand Down Expand Up @@ -62,6 +63,7 @@ export const steps = ({
new PutItemCommand({
TableName: responsesTableName,
Item: marshall({
responseId: randomUUID(),
methodPathQuery,
timestamp: new Date().toISOString(),
statusCode: 200,
Expand Down

0 comments on commit b6239f1

Please sign in to comment.