diff --git a/azuredevops/v6/git/client.go b/azuredevops/v6/git/client.go index 31fd67db..7bc27f8c 100644 --- a/azuredevops/v6/git/client.go +++ b/azuredevops/v6/git/client.go @@ -3933,7 +3933,7 @@ func (client *ClientImpl) GetPullRequestProperties(ctx context.Context, args Get } var responseValue interface{} - err = client.Client.UnmarshalBody(resp, responseValue) + err = client.Client.UnmarshalCollectionBody(resp, &responseValue) return responseValue, err } diff --git a/azuredevops/v7/git/client.go b/azuredevops/v7/git/client.go index aaca5541..da28b3c5 100644 --- a/azuredevops/v7/git/client.go +++ b/azuredevops/v7/git/client.go @@ -3973,7 +3973,7 @@ func (client *ClientImpl) GetPullRequestProperties(ctx context.Context, args Get } var responseValue interface{} - err = client.Client.UnmarshalBody(resp, responseValue) + err = client.Client.UnmarshalCollectionBody(resp, &responseValue) return responseValue, err }