Skip to content

Commit

Permalink
Merge pull request #1512 from yan12125/fix-gpg-key-apis-2
Browse files Browse the repository at this point in the history
Fix another GPG API
  • Loading branch information
svanharmelen committed Jul 30, 2022
2 parents 341b4a0 + 12956b5 commit 68d692c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion users.go
Expand Up @@ -606,7 +606,7 @@ func (s *UsersService) ListGPGKeys(options ...RequestOptionFunc) ([]*GPGKey, *Re
//
// GitLab API docs: https://docs.gitlab.com/ce/api/users.html#get-a-specific-gpg-key
func (s *UsersService) GetGPGKey(key int, options ...RequestOptionFunc) (*GPGKey, *Response, error) {
u := fmt.Sprintf("users/gpg_keys/%d", key)
u := fmt.Sprintf("user/gpg_keys/%d", key)

req, err := s.client.NewRequest(http.MethodGet, u, nil, options)
if err != nil {
Expand Down

0 comments on commit 68d692c

Please sign in to comment.