removed unnecessary struct pointer

This commit is contained in:
Gani Georgiev 2023-03-02 14:07:46 +02:00
parent b328827705
commit a3d26a73c3
1 changed files with 1 additions and 1 deletions

View File

@ -204,7 +204,7 @@ func (p *Apple) fetchJWK(kid string) (*jwk, error) {
) )
} }
jwks := &struct { jwks := struct {
Keys []*jwk Keys []*jwk
}{} }{}
if err := json.Unmarshal(rawBody, &jwks); err != nil { if err := json.Unmarshal(rawBody, &jwks); err != nil {