Skip to content

Commit

Permalink
Fix bug with postBulkQuotes (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
oderayi authored Jun 2, 2020
1 parent b32a7ce commit ad5e6e7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/lib/mojaloop-requests/mojaloopRequests.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,10 +161,10 @@ class MojaloopRequests {
}

/**
* Executes a POST /bulkQuotes/{ID} request for the specified bulk quote
* Executes a POST /bulkQuotes request
*/
async postBulkQuotes(bulkQuoteId, bulkQuoteResponse, destFspId) {
return this._post(`bulkQuotes/${bulkQuoteId}`, 'bulkQuotes', bulkQuoteResponse, destFspId);
async postBulkQuotes(bulkQuoteRequest, destFspId) {
return this._post('bulkQuotes', 'bulkQuotes', bulkQuoteRequest, destFspId);
}

/**
Expand Down Expand Up @@ -229,7 +229,7 @@ class MojaloopRequests {
}

/**
* Executes a GET /bulkTransfers request for the specified bulk transfer ID
* Executes a GET /bulkTransfers/{ID} request for the specified bulk transfer ID
*
* @returns {object} - JSON response body if one was received
*/
Expand Down
2 changes: 1 addition & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@mojaloop/sdk-standard-components",
"version": "10.3.0",
"version": "10.3.1",
"description": "An set of standard components for connecting to Mojaloop API enabled switches",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit ad5e6e7

Please sign in to comment.