swp-fu-eid / eid-fu-swp

Docker-based REST API implemented with Django and restframework.
MIT License
2 stars 1 forks source link

fix catch validation error #66

Closed auvin closed 7 years ago

auvin commented 7 years ago

I think the get_user_id(accessToken) function should catch the ValidationError exception when a badly formed hexadecimal UUID string was given as input and should return None.