When I try to execute fintocClient.links.get throws an axios exception of an illegal request.
This is my code that I've been doing following your documentation:
const { Fintoc } = require('fintoc');
const fintocClient = new Fintoc(fintoc.secret);
const link = await fintocClient.links.get(fintoc.linkToken);
I get the following error:
"code": 500,
"message": "Cannot read properties of undefined (reading 'type')"
But looking into the util library, the real error is:
400 Bad Request
Your client has issued a malformed or illegal request.
I'm not sure if I'm doing something wrong.