Skip to content

Commit

Permalink
fix for bug mojaloop/project#778 (#4)
Browse files Browse the repository at this point in the history
* updates for eslint and fix for bug mojaloop/project#778

* version update
  • Loading branch information
rmothilal authored May 24, 2019
1 parent 67616af commit 2c22f06
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 15 deletions.
25 changes: 13 additions & 12 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,29 @@
{
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 9
},
"rules": {
"no-console": ["off"],
"indent": [
2,
4
],
"linebreak-style": [
2,
"unix"
2
],
"quotes": [
2,
"single"
],
"linebreak-style": [
2,
"unix"
],
"semi": [
2,
"always"
"never"
]
}
},
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended"
}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "quoting-service",
"description": "Quoting Service hosted by a scheme",
"license": "Apache-2.0",
"version": "6.2.1",
"version": "6.2.2",
"author": "Modusbox",
"contributors": [
"James Bush <[email protected]>",
Expand Down
2 changes: 1 addition & 1 deletion src/model/quotes.js
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ class QuotesModel {
}

if (!noAccept) {
ret['Accept'] = 'application/vnd.interoperability.quotes+json;version=1.0'
ret['Accept'] = 'application/vnd.interoperability.quotes+json;version=1'
}

return this.removeEmptyKeys(ret)
Expand Down

0 comments on commit 2c22f06

Please sign in to comment.