Moved to transformation of the avatar URL instead of construction to avoid collisions
This commit is contained in:
@@ -15,17 +15,16 @@ resolve = {
|
|||||||
"get": {
|
"get": {
|
||||||
"avatar": ["messageheaders", "userCard", "userPhoto"],
|
"avatar": ["messageheaders", "userCard", "userPhoto"],
|
||||||
},
|
},
|
||||||
"construct": {
|
"transform": {
|
||||||
"avatarpath": [
|
"avatar": {
|
||||||
"https://rentmasseur.com",
|
"/images/nophoto.jpg": "https://rentmasseur.com/images/nophoto.jpg",
|
||||||
{"resolved": "avatar"},
|
},
|
||||||
],
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
#To add resolution suffix, second item must be a dictionary. References the "path" library under resolved
|
#To add resolution suffix, second item must be a dictionary. References the "path" library under resolved
|
||||||
path = [
|
path = [
|
||||||
{"resolved": "avatarpath"},
|
{"resolved": "avatar"},
|
||||||
]
|
]
|
||||||
|
|
||||||
headers = {
|
headers = {
|
||||||
|
|||||||
Reference in New Issue
Block a user