Skip to content

Commit a63d4d9

Browse files
committed
let the quotedWareID fail gracefully when configuring requests
1 parent 338b37e commit a63d4d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

utils/api/configurations.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export const configureRequests = ({ data, path }) => {
7373
title: `${request.identifier}: ${request.name}`,
7474
updatedAt: normalizeDate(request.updated_at),
7575
uuid: request.uuid,
76-
quotedWareID: request.quoted_ware_refs?.[0].id,
76+
quotedWareID: request.quoted_ware_refs?.[0]?.id,
7777
}
7878
})
7979
}

0 commit comments

Comments
 (0)