The CreationDate property is missing in the Cards model
shengdaliu opened this issue · 5 comments
shengdaliu commented
fredericdelordm commented
Hello @shengdaliu,
Thanks for the PR. We are looking into it
iulian03 commented
Hello, @shengdaliu . The CreationDate is already present in the parent entity - EntityBase
shengdaliu commented
Hello @iulian03
I tried on both release 1.30.0 (My current version on production) and 1.31.1
The mangopay.Cards.get()
method doesn't retrieve correctly the CreationDate.
Shall I use another endpoint to do that ?
It seems a bit redundant to make two API calls to get one object instance.
iulian03 commented
@shengdaliu I've tried reproducing your issue on both JS and TS, but the CreationDate is always returned:
shengdaliu commented
OK, it's all good, I was using console.log('%j', card)
and logger.info('%j', card)
from Winston. Both formatter %j
filtered out the CreationDate field.
Thank you.