Moved to transformation of the avatar URL instead of construction to avoid collisions

This commit is contained in:
Lyncoln
2026-10-18 00:53:47 -04:00
parent 20addcf43d
commit a9726d1227
+5 -6
View File
@@ -15,17 +15,16 @@ resolve = {
"get": {
"avatar": ["messageheaders", "userCard", "userPhoto"],
},
"construct": {
"avatarpath": [
"https://rentmasseur.com",
{"resolved": "avatar"},
],
"transform": {
"avatar": {
"/images/nophoto.jpg": "https://rentmasseur.com/images/nophoto.jpg",
},
},
}
#To add resolution suffix, second item must be a dictionary. References the "path" library under resolved
path = [
{"resolved": "avatarpath"},
{"resolved": "avatar"},
]
headers = {