mirror of
https://github.com/LukeHagar/plexgo.git
synced 2025-12-06 04:20:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.615.2
This commit is contained in:
@@ -58,7 +58,7 @@ func (f Friend) MarshalJSON() ([]byte, error) {
|
||||
}
|
||||
|
||||
func (f *Friend) UnmarshalJSON(data []byte) error {
|
||||
if err := utils.UnmarshalJSON(data, &f, "", false, false); err != nil {
|
||||
if err := utils.UnmarshalJSON(data, &f, "", false, []string{"email", "friendlyName", "home", "id", "sharedServers", "sharedSources", "status", "thumb", "title", "username", "uuid"}); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user