Skip to content

Commit

Permalink
Fixed json parsing issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DietBepis1 committed Oct 15, 2024
1 parent fbfab7a commit f8d5305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes/api/checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ router.post('/process-transaction', async (req, res) => {
color: false,
use_type: 'operational',
file: letterTemplate.latest_template_preview.template_id,
merge_variables: letter.mergeVariables
merge_variables: JSON.parse(letter.mergeVariables)
},
{
headers: {
Expand Down

0 comments on commit f8d5305

Please sign in to comment.