Update token/invocation/options.go

Co-authored-by: Michael Muré <batolettre@gmail.com>
Signed-off-by: Steve Moyer <smoyer64@gmail.com>
This commit is contained in:
Steve Moyer
2025-03-11 12:56:49 -04:00
committed by GitHub
parent d7472621ce
commit 05c2573d95

View File

@@ -144,7 +144,7 @@ func WithInvokedAtIn(after time.Duration) Option {
} }
// WithoutInvokedAt clears the Token's invokedAt field. // WithoutInvokedAt clears the Token's invokedAt field.
func WithoutInvokedAt() Option { func WithoutIssuedAt() Option {
return func(t *Token) error { return func(t *Token) error {
t.issuedAt = nil t.issuedAt = nil