on typescript project these columns are not valid from the typescript checking. But If I request these columns (as the typescript types and documentation):
Then when I received the hook, I retreive the RessourceId with :
const { Date: date, EventType: eventType, RessourceId: ressourceId } = req.query;
the the query object has no RessourceId but a ResourceId
I need to write
const date = req.query.Date;
const eventType = req.query.EventType;
const ressourceId = (req.query as any).ResourceId; // fuc**g MangoPay the query response is ResourceId and not RessourceId on this webhook ????
What I do wrong, or it's buggy.
Tested with mangopay2-nodejs-sdk version 1.31.1 and 1.42.1
To create a wallet report on a javascript project I use these columns list :
on typescript project these columns are not valid from the typescript checking. But If I request these columns (as the typescript types and documentation):
I have an error
To solve the issue I use previous columns list with
any
in my codeThen when I received the hook, I retreive the RessourceId with :
const { Date: date, EventType: eventType, RessourceId: ressourceId } = req.query;
the the query object has no
RessourceId
but aResourceId
I need to writeWhat I do wrong, or it's buggy.
Tested with mangopay2-nodejs-sdk version 1.31.1 and 1.42.1