mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -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({
|
||||
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 () {
|
||||
|
|
Loading…
Reference in a new issue