mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 06:03:45 +01:00
Upper case PUT for consistency
GitOrigin-RevId: e3ce6b652ee9cee8a719b56d0dddda2faf575968
This commit is contained in:
@@ -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 () {
|
||||
|
||||
Reference in New Issue
Block a user