Skip to content

Commit

Permalink
Fix JSON SQS message body for ARPA tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
TylerHendrickson committed Sep 30, 2023
1 parent a0fd58e commit ebdc8d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/src/arpa_reporter/routes/audit-report.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ router.get('/', requireUser, async (req, res) => {
const sqs = aws.getSQSClient();
await sqs.send(new SendMessageCommand({
QueueUrl: process.env.ARPA_AUDIT_REPORT_SQS_QUEUE_URL,
MessageBody: JSON.stringify({ userId: user.userId }),
MessageBody: JSON.stringify({ userId: user.id }),
}));
res.json({ success: true });
return;
Expand Down

0 comments on commit ebdc8d4

Please sign in to comment.