Skip to content

Commit

Permalink
Merge pull request #69 from jeudy100/fix-const-cont
Browse files Browse the repository at this point in the history
took out const
  • Loading branch information
jeudy100 authored Jun 25, 2019
2 parents bae47da + 4763c34 commit 588b13e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stratajs",
"description": "JavaScript Library to interact with the Red Hat Customer Portal API",
"version": "1.6.6",
"version": "1.6.7",
"main": "strata.js",
"repository": {
"type": "git",
Expand Down
6 changes: 3 additions & 3 deletions strata.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
addCaseSbrs,
removeCaseSbrs;

strata.version = '1.6.6';
strata.version = '1.6.7';
redhatClientID = 'stratajs-' + strata.version;

function getIsTokenExpired() {
Expand Down Expand Up @@ -1116,7 +1116,7 @@
url.addQueryParam('partnerSearch', partnerSearch);
caseFields && caseFields.length > 0 && url.addQueryParam('fl', caseFields.join(','));

const mapResponse = (caseDocs, totalCases) => ({
var mapResponse = (caseDocs, totalCases) => ({
total_count: totalCases,
case: caseDocs.map((kase) => $.extend({}, kase, {
created_by: kase.case_createdByName,
Expand Down Expand Up @@ -1144,7 +1144,7 @@
},
url: url,
success: function (res) {
const response = mapResponse(res.response.docs, res.response.numFound);
var response = mapResponse(res.response.docs, res.response.numFound);
if (response['case'] !== undefined) {
response['case'].forEach(convertDates);
onSuccess(response);
Expand Down

0 comments on commit 588b13e

Please sign in to comment.