diff --git a/server/cleanupImages.js b/server/cleanupImages.js index 10b86c28..b8735fbf 100644 --- a/server/cleanupImages.js +++ b/server/cleanupImages.js @@ -18,7 +18,7 @@ async function cleanup() { FROM users WHERE avatarSource LIKE 'https://pronouns-page.s3-eu-west-1.amazonaws.com/images/%'` )) { - avatars[row.avatarSource.match('https://pronouns-page.s3-eu-west-1.amazonaws.com/images/(.*)-thumb.png')[1]] = true; + avatars[row.avatarSource.match('https://pronouns-page.s3.eu-west-1.amazonaws.com/images/(.*)-thumb.png')[1]] = true; } const flags = {};