Upper case PUT for consistency

GitOrigin-RevId: e3ce6b652ee9cee8a719b56d0dddda2faf575968
This commit is contained in:
andrew rumble 2024-07-09 11:29:13 +01:00 committed by Copybot
parent cbf8832908
commit 2477ac6c50
2 changed files with 2 additions and 2 deletions

View file

@ -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)

View file

@ -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 () {