|
@@ -54,7 +54,7 @@ export class BaseAuthorityMiddleware
|
|
'fusionpay-sign': vaSign = '',
|
|
'fusionpay-sign': vaSign = '',
|
|
} = header;
|
|
} = header;
|
|
const params =
|
|
const params =
|
|
- ctx?.req.method === 'GET' ? ctx?.request.query : ctx?.request.body;
|
|
|
|
|
|
+ ctx?.req.method === 'GET' ? /* ctx?.request.query */ '' : ctx?.request.body;
|
|
const merchantInfo = await this.merchantEntity.findOne({
|
|
const merchantInfo = await this.merchantEntity.findOne({
|
|
where: {
|
|
where: {
|
|
apiSecret: `${vaKey}`,
|
|
apiSecret: `${vaKey}`,
|