Skip to content

Commit

Permalink
switch to use UnmarshalBody function
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverdewBaker committed Sep 14, 2023
1 parent b030a68 commit c508c33
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion azuredevops/git/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -3873,7 +3873,7 @@ func (client *ClientImpl) GetPullRequestProperties(ctx context.Context, args Get
}

var responseValue interface{}
err = client.Client.UnmarshalCollectionBody(resp, &responseValue)
err = client.Client.UnmarshalBody(resp, &responseValue)
return responseValue, err
}

Expand Down
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.UnmarshalCollectionBody(resp, &responseValue)
err = client.Client.UnmarshalBody(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.UnmarshalCollectionBody(resp, &responseValue)
err = client.Client.UnmarshalBody(resp, &responseValue)
return responseValue, err
}

Expand Down

0 comments on commit c508c33

Please sign in to comment.