fix: need to cast to Base64UrlBinary
This commit is contained in:
parent
bd1a1084d3
commit
d907fddde8
|
@ -22,7 +22,7 @@ func (b *Base64UrlBinary) UnmarshalJSON(data []byte) error {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
*b = (decodedData)
|
*b = Base64UrlBinary(decodedData)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (b Base64UrlBinary) MarshalJSON() ([]byte, error) {
|
func (b Base64UrlBinary) MarshalJSON() ([]byte, error) {
|
||||||
|
|
Loading…
Reference in New Issue