From bcfd0cb0a3b3f896d32c0174c732a1541ddfa172 Mon Sep 17 00:00:00 2001 From: Matthew R Date: Mon, 2 Nov 2020 15:14:21 -0500 Subject: [PATCH] add avatarURL to /report/web --- src/api/comm.libraryofcode.org/routes/report.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/comm.libraryofcode.org/routes/report.ts b/src/api/comm.libraryofcode.org/routes/report.ts index 7cdcabe..216a334 100644 --- a/src/api/comm.libraryofcode.org/routes/report.ts +++ b/src/api/comm.libraryofcode.org/routes/report.ts @@ -475,6 +475,7 @@ export default class Report extends Route { return res.status(200).json({ name: `${member.username}#${member.discriminator}`, + avatarURL: member.avatarURL, userID: score.userID, pin: score.pin?.join('-'), score: totalScore,