timbiles / Breaking-Bad--API

The only API for the greatest show on television, Breaking Bad.
https://www.breakingbadapi.com/
BSD 3-Clause "New" or "Revised" License
143 stars 28 forks source link

Characters of Better Call Saul Returning "null" in "appearance" Property #47

Closed pandeypiyush94 closed 3 years ago

pandeypiyush94 commented 3 years ago

Characters of Better Call Saul who hasn't worked in Breaking Bad returning null in appearance Property which sometimes leading to Null Pointer Exception. Better to return 0 instead of null... :slightly_smiling_face:

Capture

timbiles commented 3 years ago

@pandeypiyush94 Thanks for letting me know! This issue should be corrected. The appearance property will display an empty array for those characters that do not appear in Breaking Bad but do appear in Better Call Saul