Added network to profile context when site is available.

This commit is contained in:
2020-05-18 03:34:41 +02:00
parent 885aa4f627
commit 003e07491d
3 changed files with 14 additions and 5 deletions

View File

@@ -615,7 +615,7 @@ async function associateAvatars(profiles) {
? {
...profile,
avatarBaseMedia: toBaseMedias([profile.avatar], 'avatars', {
copyright: profile.network?.name || null,
copyright: profile.network?.name || profile.site?.name || null,
scraper: profile.scraper || null,
})[0],
}