Skip to content

Commit

Permalink
Update createUpdatePlanProject.js (#1508)
Browse files Browse the repository at this point in the history
  • Loading branch information
nipunarora-eGov authored Oct 11, 2024
1 parent 8b0f9d2 commit 159e7da
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ const isValidResourceName = async (name) => {
//generating campaign and microplan
//this will only be called on first time create so it doesn't have to be generic
const CreateResource = async (req) => {

//creating a microplan and campaign instance here
const { totalFormData, state, setShowToast, setCurrentKey, setCurrentStep, config, campaignObject, planObject } = req;
try {
Expand All @@ -65,6 +64,7 @@ const CreateResource = async (req) => {
resources: [],
projectType: totalFormData?.CAMPAIGN_DETAILS?.campaignDetails?.campaignType?.code,
additionalDetails: {
resourceDistributionStrategy: totalFormData?.CAMPAIGN_DETAILS?.campaignDetails?.distributionStrat?.resourceDistributionStrategyCode,
source: "microplan",
},
};
Expand Down

0 comments on commit 159e7da

Please sign in to comment.