Skip to content

Commit

Permalink
Update campaignApis.ts (#930)
Browse files Browse the repository at this point in the history
  • Loading branch information
ashish-egov authored Jun 18, 2024
1 parent 2d52754 commit c997214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utilities/project-factory/src/server/api/campaignApis.ts
Original file line number Diff line number Diff line change
Expand Up @@ -771,7 +771,7 @@ async function handleResouceDetailsError(request: any, error: any) {
};
const persistMessage: any = { ResourceDetails: request.body.ResourceDetails }
if (request?.body?.ResourceDetails?.action == "create") {
persistMessage.ResourceDetails.additionalDetails = {}
persistMessage.ResourceDetails.additionalDetails = { error: stringifiedError }
}
produceModifiedMessages(persistMessage, config?.kafka?.KAFKA_UPDATE_RESOURCE_DETAILS_TOPIC);
}
Expand Down

0 comments on commit c997214

Please sign in to comment.