Skip to content

Commit

Permalink
Merge pull request #1376 from pschwartz/fix/move_sshkey_back_to_time.…
Browse files Browse the repository at this point in the history
…Time

Revert ISOTime usage to time.Time in SSHKey
  • Loading branch information
svanharmelen committed Feb 10, 2022
2 parents ef50bf1 + 120a6d2 commit 55a9626
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions users.go
Expand Up @@ -392,11 +392,11 @@ func (s *UsersService) SetUserStatus(opt *UserStatusOptions, options ...RequestO
//
// GitLab API docs: https://docs.gitlab.com/ce/api/users.html#list-ssh-keys
type SSHKey struct {
ID int `json:"id"`
Title string `json:"title"`
Key string `json:"key"`
CreatedAt *ISOTime `json:"created_at"`
ExpiresAt *ISOTime `json:"expires_at"`
ID int `json:"id"`
Title string `json:"title"`
Key string `json:"key"`
CreatedAt *time.Time `json:"created_at"`
ExpiresAt *time.Time `json:"expires_at"`
}

// ListSSHKeys gets a list of currently authenticated user's SSH keys.
Expand Down

0 comments on commit 55a9626

Please sign in to comment.