Returning actor birth and residence data. Fixed campaign scenes not updating with filters.
This commit is contained in:
@@ -47,6 +47,8 @@ export function curateActor(actor, context = {}) {
|
||||
name: actor.birth_country_name,
|
||||
alias: actor.birth_country_alias,
|
||||
},
|
||||
city: actor.birth_city,
|
||||
state: actor.birth_state,
|
||||
},
|
||||
residence: actor.residence_country_alpha2 && {
|
||||
country: actor.residence_country_alpha2 && {
|
||||
@@ -54,6 +56,8 @@ export function curateActor(actor, context = {}) {
|
||||
name: actor.residence_country_name,
|
||||
alias: actor.residence_country_alias,
|
||||
},
|
||||
city: actor.residence_city,
|
||||
state: actor.residence_state,
|
||||
},
|
||||
avatar: curateMedia(actor.avatar),
|
||||
profiles: context.profiles?.map((profile) => ({
|
||||
|
||||
@@ -12,5 +12,6 @@ export function curateMedia(media) {
|
||||
width: media.width,
|
||||
height: media.height,
|
||||
index: media.index,
|
||||
credit: media.credit,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user