mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-02 11:39:06 +02:00
last_used can be nil
This commit is contained in:
@@ -316,7 +316,6 @@ components:
|
||||
- expiration_date
|
||||
- created_by
|
||||
- created_at
|
||||
- last_used
|
||||
PersonalAccessTokenGenerated:
|
||||
type: object
|
||||
properties:
|
||||
|
||||
@@ -394,7 +394,7 @@ type PersonalAccessToken struct {
|
||||
Id string `json:"id"`
|
||||
|
||||
// LastUsed Date the token was last used
|
||||
LastUsed time.Time `json:"last_used"`
|
||||
LastUsed *time.Time `json:"last_used,omitempty"`
|
||||
|
||||
// Name Name of the token
|
||||
Name string `json:"name"`
|
||||
|
||||
Reference in New Issue
Block a user