mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-28 21:13:20 -05:00
Upper case PUT for consistency
GitOrigin-RevId: e3ce6b652ee9cee8a719b56d0dddda2faf575968
This commit is contained in:
parent
cbf8832908
commit
2477ac6c50
2 changed files with 2 additions and 2 deletions
|
@ -601,7 +601,7 @@ const promises = {
|
||||||
|
|
||||||
const { body } = await RecurlyWrapper.promises.apiRequest({
|
const { body } = await RecurlyWrapper.promises.apiRequest({
|
||||||
url: `subscriptions/${subscriptionId}`,
|
url: `subscriptions/${subscriptionId}`,
|
||||||
method: 'put',
|
method: 'PUT',
|
||||||
body: requestBody,
|
body: requestBody,
|
||||||
})
|
})
|
||||||
return await RecurlyWrapper.promises._parseSubscriptionXml(body)
|
return await RecurlyWrapper.promises._parseSubscriptionXml(body)
|
||||||
|
|
|
@ -361,7 +361,7 @@ describe('RecurlyWrapper', function () {
|
||||||
this.requestOptions.url.should.equal(
|
this.requestOptions.url.should.equal(
|
||||||
`subscriptions/${this.recurlySubscriptionId}`
|
`subscriptions/${this.recurlySubscriptionId}`
|
||||||
)
|
)
|
||||||
this.requestOptions.method.should.equal('put')
|
this.requestOptions.method.should.equal('PUT')
|
||||||
})
|
})
|
||||||
|
|
||||||
it('should return the updated subscription', function () {
|
it('should return the updated subscription', function () {
|
||||||
|
|
Loading…
Reference in a new issue