Skip to content

Commit

Permalink
Fix another GPG API
Browse files Browse the repository at this point in the history
  • Loading branch information
Chih-Hsuan Yen committed Jul 27, 2022
1 parent 341b4a0 commit 12956b5
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 12956b5

Please sign in to comment.