Mangopay/mangopay2-nodejs-sdk

Wrong return type in Disputes.getRepudiation()

belinde opened this issue · 2 comments

Disputes.getRepudiation() type suggests an array is returned, but is a single object instead:

export class Disputes {
// OMISSIS

    /**
     * Gets repudiation
     * @param repudiationId
     * @param options
     */
    getRepudiation: MethodOverload<string, repudiation.RepudiationData[]>;

// OMISSIS
}

Hello @belinde,

Thanks for the message. We are going to fix this in the next release.

Still not fixed.