mma-api icon indicating copy to clipboard operation
mma-api copied to clipboard

Handle case for invalid fighter name

Open Hernanvb opened this issue 6 years ago • 1 comments

This will prevent the app from sending an 'undefined' query to request causing it to crash. Instead the API will return fighter 'null' so any app can handle that gracefully.

Hernanvb avatar Apr 11 '18 03:04 Hernanvb

Thanks for finding this @Hernanvb -- I addressed the fighter name issue in the sherdog package, so the names are coming in correctly again. Let me know if your problem still persists.

valish avatar Apr 24 '18 06:04 valish