#269 reduce S3 usage - clean up unused cards

This commit is contained in:
Andrea 2022-04-01 00:34:41 +02:00
parent 1de23bf8b6
commit 01d872cc1b
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ async function cleanup() {
FROM users FROM users
WHERE avatarSource LIKE 'https://pronouns-page.s3-eu-west-1.amazonaws.com/images/%'` 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 = {}; const flags = {};