Skip to content
This repository was archived by the owner on May 28, 2023. It is now read-only.

Fix typo becase > because #569

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/processor/default.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class HmacProcessor {
return new Promise((resolve, reject) => {
const rs = items.map((item) => {
if (this._req.query._source_exclude && (this._req.query._source_exclude as string[]).indexOf('sgn') < 0) {
item._source.sgn = hmac.sign(item._source, this._config.get('objHashSecret')); // for products we sign off only price and id becase only such data is getting back with orders
item._source.sgn = hmac.sign(item._source, this._config.get('objHashSecret')); // for products we sign off only price and id because only such data is getting back with orders
}
return item
})
Expand Down