From 648e1abf2a3f55736df6062b9bb5369e253763e5 Mon Sep 17 00:00:00 2001 From: Joel Hill Date: Fri, 9 Apr 2021 20:45:58 -0700 Subject: [PATCH] fixed mapping bug --- models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models.go b/models.go index 58e9d49..fc000e8 100644 --- a/models.go +++ b/models.go @@ -265,7 +265,7 @@ type Player struct { SocialMediaAccounts interface{} `json:"socialMediaAccounts"` CurrentContractYear *CurrentContractYear `json:"currentContractYear"` Drafted Drafted `json:"drafted"` - ExternalMappings ExternalMappings `json:"externalMappings"` + ExternalMappings []ExternalMapping `json:"externalMappings"` } type Team struct {