Closed jesperes closed 2 years ago
The /rest/ssh/latest/projects/{projectKey}/repos/{repositorySlug}/ssh endpoint does not return the ssh keys in any particular order, so they must be sorted before comparing them. They are usually in the expected order, but not always.
/rest/ssh/latest/projects/{projectKey}/repos/{repositorySlug}/ssh
The
/rest/ssh/latest/projects/{projectKey}/repos/{repositorySlug}/ssh
endpoint does not return the ssh keys in any particular order, so they must be sorted before comparing them. They are usually in the expected order, but not always.