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

Commit a6ec7a4

Browse files
Add support for billing account ID
1 parent b17e336 commit a6ec7a4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/services/ProcessorService.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ async function parsePayload (payload, m2mToken, isCreated = true) {
7676
name: payload.name,
7777
reviewType: _.get(payload, 'legacy.reviewType'),
7878
projectId,
79-
status: payload.status
79+
status: payload.status,
80+
billingAccountId: payload.billingAccountId
8081
}
8182
if (_.get(payload, 'legacy.forumId')) {
8283
data.forumId = payload.legacy.forumId
@@ -245,6 +246,7 @@ processCreate.schema = {
245246
directProjectId: Joi.number(),
246247
forumId: Joi.number().integer().positive()
247248
}),
249+
billingAccountId: Joi.number(),
248250
name: Joi.string().required(),
249251
description: Joi.string(),
250252
privateDescription: Joi.string(),
@@ -338,6 +340,7 @@ processUpdate.schema = {
338340
forumId: Joi.number().integer().positive(),
339341
informixModified: Joi.string()
340342
}),
343+
billingAccountId: Joi.number(),
341344
typeId: Joi.string(),
342345
name: Joi.string(),
343346
description: Joi.string(),

0 commit comments

Comments
 (0)