#316 save external avatars

This commit is contained in:
Andrea Vos 2022-09-09 18:16:37 +02:00
parent 4ce6722399
commit 41198dd371

View File

@ -11,7 +11,6 @@ const copyAvatar = require('./avatarCopy');
SELECT * FROM authenticators
WHERE type IN ('mastodon', 'indieauth', 'twitter', 'discord', 'google', 'facebook')
AND (validUntil IS NULL OR validUntil > ${now})
AND userId='01EMPVS2T10S9X0440N47WF8N2' -- FIXME
`)
let i = 0;
for (let auth of auths) {