From 120a6d20660f2d4b3260a316a275bf0030cd9591 Mon Sep 17 00:00:00 2001 From: Philip Marc Schwartz Date: Thu, 10 Feb 2022 07:14:30 -0600 Subject: [PATCH] Revert ISOTime usage to time.Time in SSHKey Signed-off-by: Philip Marc Schwartz --- users.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/users.go b/users.go index f850ac7da..c16b07e76 100644 --- a/users.go +++ b/users.go @@ -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.