diff --git a/packages/server/src/arpa_reporter/routes/audit-report.js b/packages/server/src/arpa_reporter/routes/audit-report.js index d3635b7b1..0fb0e964a 100644 --- a/packages/server/src/arpa_reporter/routes/audit-report.js +++ b/packages/server/src/arpa_reporter/routes/audit-report.js @@ -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;