From a25e9e6b1fc4f340a8bb383cce9520e0aebe6a7e Mon Sep 17 00:00:00 2001 From: Therm Scissorpunch <61228862+ThermScissorpunch@users.noreply.github.com> Date: Thu, 27 May 2021 09:00:07 +0200 Subject: [PATCH] Fix typo becase > because --- src/processor/default.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/processor/default.ts b/src/processor/default.ts index a8f8e776..13940438 100644 --- a/src/processor/default.ts +++ b/src/processor/default.ts @@ -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 })