adorsys/XS2A-Sandbox

challengeData object contains `data` field with array of null

berezkin88 opened this issue · 1 comments

If there is no data information in Challenge Data object, the corresponding field returns an array of null, e.g.
Screenshot 2020-06-09 at 16 48 19

In such cases, additional checking for null is required for avoiding NPE.

It would be nice to have this field not present in the response if no data is available.

@berezkin88 Fixed in XS2A-Sandbox v.4.2