jaikamat / clubhouse-pos-importer

Monorepo for an LGS's inventory management system
1 stars 0 forks source link

Auth controller error handling #331

Closed jaikamat closed 3 years ago

jaikamat commented 3 years ago

Summary

Rounds out the last few PR's by wrapping the authentication controller in an error boundary, and lightly refactoring its functionality to check for !token first as a short-circuit.

Also moves a few remaining .send response calls to .json.