eve-seat / seat

SeAT 0x. [UNSUPPORTED]
https://github.com/eveseat/seat
MIT License
69 stars 38 forks source link

search fails #301

Closed freedenizen closed 9 years ago

freedenizen commented 9 years ago

Search seems to be broken when the user isn't a super user (or maybe it is when they aren't a super user and don't have a char assigned). Please see the following pastebin for the error in log. http://pastebin.com/syq9Zi5P

eve-seat commented 9 years ago

Thanks for the report. Looks like this is because the character has 0 API keys. This can be seen by the whereaccount_apikeyinfo_characters.keyIDin (). There are other places in the app where this is checked, and it appears to be missed here. Ill commit a fix shortly.