Upper case PUT for consistency

GitOrigin-RevId: e3ce6b652ee9cee8a719b56d0dddda2faf575968
This commit is contained in:
andrew rumble
2024-08-01 08:05:06 +00:00
committed by Copybot
parent 7ed9196420
commit d3561ec3cd
2 changed files with 2 additions and 2 deletions
@@ -601,7 +601,7 @@ const promises = {
const { body } = await RecurlyWrapper.promises.apiRequest({
url: `subscriptions/${subscriptionId}`,
method: 'put',
method: 'PUT',
body: requestBody,
})
return await RecurlyWrapper.promises._parseSubscriptionXml(body)
@@ -361,7 +361,7 @@ describe('RecurlyWrapper', function () {
this.requestOptions.url.should.equal(
`subscriptions/${this.recurlySubscriptionId}`
)
this.requestOptions.method.should.equal('put')
this.requestOptions.method.should.equal('PUT')
})
it('should return the updated subscription', function () {