fix: need to cast to Base64UrlBinary

This commit is contained in:
Derrick Hammer 2024-01-04 08:57:58 -05:00
parent bd1a1084d3
commit d907fddde8
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ func (b *Base64UrlBinary) UnmarshalJSON(data []byte) error {
return err
}
*b = (decodedData)
*b = Base64UrlBinary(decodedData)
return nil
}
func (b Base64UrlBinary) MarshalJSON() ([]byte, error) {