Skip to content
This repository was archived by the owner on Jan 23, 2025. It is now read-only.

Commit 7b27c75

Browse files
author
James Cori
committed
Setting a default for reviewtype
1 parent 2a170ef commit 7b27c75

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/ProcessorService.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ async function parsePayload (payload, m2mToken, isCreated = true, informixGroupI
213213
const data = {
214214
...legacyTrackInfo,
215215
name: payload.name,
216-
reviewType: _.get(payload, 'legacy.reviewType'),
216+
reviewType: _.get(payload, 'legacy.reviewType', 'INTERNAL'),
217217
projectId,
218218
status: payload.status
219219
}

0 commit comments

Comments
 (0)