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:
@@ -144,7 +144,7 @@ func WithInvokedAtIn(after time.Duration) Option {
|
||||
}
|
||||
|
||||
// WithoutInvokedAt clears the Token's invokedAt field.
|
||||
func WithoutInvokedAt() Option {
|
||||
func WithoutIssuedAt() Option {
|
||||
return func(t *Token) error {
|
||||
t.issuedAt = nil
|
||||
|
||||
|
||||
Reference in New Issue
Block a user