Skip to content

Commit a1fe696

Browse files
authored
Merge pull request #34 from mittwald/fix-type
change token type ttl to string
2 parents dfba0dc + b76e1b3 commit a1fe696

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

authentication.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type AuthCreateTokenRequest struct {
2525
NoParent bool `json:"no_parent,omitempty"`
2626
NoDefaultPolicy bool `json:"no_default_policy,omitempty"`
2727
Renewable bool `json:"renewable,omitempty"`
28-
TTL int `json:"ttl,omitempty"`
28+
TTL string `json:"ttl,omitempty"`
2929
Type string `json:"type,omitempty"`
3030
EntityAlias string `json:"entity_alias,omitempty"`
3131
}

0 commit comments

Comments
 (0)