Skip to content

Commit

Permalink
fix v6 and v7
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverdewBaker committed Sep 5, 2023
1 parent 2870df4 commit b030a68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azuredevops/v6/git/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down
2 changes: 1 addition & 1 deletion azuredevops/v7/git/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit b030a68

Please sign in to comment.