Merge pull request #1958 from cewert/fix-person-details-crash

This commit is contained in:
Charles Ewert 2024-10-04 04:45:27 -07:00 committed by GitHub
commit 55d92989d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -4,9 +4,12 @@ import "pkg:/source/utils/config.bs"
sub setFields()
json = m.top.json
m.top.Type = "Person"
if json = invalid then return
m.top.id = json.id
m.top.favorite = json.UserData.isFavorite
m.top.Type = "Person"
setPoster()
end sub