Skip to content

Commit 2b83ee0

Browse files
fix(metadata): functional opt sets wrong value (#272)
This fixes an issue where the functional option sets the wrong value.
1 parent ceb7159 commit 2b83ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metadata/providers/memory/options.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ func WithValidateStatus(validate bool) Option {
6363
// known types the authenticator can produce. Default is true.
6464
func WithValidateAttestationTypes(validate bool) Option {
6565
return func(provider *Provider) (err error) {
66-
provider.status = validate
66+
provider.attestation = validate
6767

6868
return nil
6969
}

0 commit comments

Comments
 (0)