Skip to content

Commit a5c1e58

Browse files
committed
return null instead of undefined
1 parent 7faef88 commit a5c1e58

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

utils/api/configurations.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,10 @@ export const configureDocuments = (documents, requestIdentifier) => {
209209
text: document.ship_from?.text,
210210
},
211211
// the following properties only need to exist on POs
212-
turnaroundTime: document.turn_around_time.human || undefined,
213-
poNumber: document.po_number || undefined,
214-
relatedSOWIdentifier: document.proposal_ref?.identifier || undefined,
215-
adPO: document.scientist_identifier || undefined,
212+
turnaroundTime: document.turn_around_time.human || null,
213+
poNumber: document.po_number || null,
214+
relatedSOWIdentifier: document.proposal_ref?.identifier || null,
215+
adPO: document.scientist_identifier || null,
216216
}))
217217
}
218218

0 commit comments

Comments
 (0)