From aa77c21d5cd4cae3182f9b985593961e0c6878a7 Mon Sep 17 00:00:00 2001 From: Vasilica Olariu Date: Thu, 23 Oct 2025 21:39:42 +0300 Subject: [PATCH] expose fixedAmount --- src/common/prisma-helper.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/prisma-helper.js b/src/common/prisma-helper.js index 559e5bd..b97d774 100644 --- a/src/common/prisma-helper.js +++ b/src/common/prisma-helper.js @@ -228,6 +228,7 @@ function convertChallengeSchemaToPrisma(currentUser, challenge) { memberReviewerCount: _.isNil(r.memberReviewerCount) ? null : Number(r.memberReviewerCount), + fixedAmount: _.isNil(r.fixedAmount) ? null : Number(r.fixedAmount), baseCoefficient: _.isNil(r.baseCoefficient) ? null : Number(r.baseCoefficient), incrementalCoefficient: _.isNil(r.incrementalCoefficient) ? null @@ -370,6 +371,7 @@ function convertModelToResponse(ret) { "isMemberReview", "memberReviewerCount", "phaseId", + "fixedAmount", "baseCoefficient", "incrementalCoefficient", "type",