0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00
Files
homebrewery/server
Trevor Buckner 64b792c645 Fix case where no stub is found
When retrieving a Google Brew with no stub yet, if the user is not logged in or has expired credentials, we enter this error handler. However, the error message itself tries to send a list of authors.

If there was no stub, we crash here with a 500 error.

This adds conditional operator to any stub value so we can send the actual "not logged in" error in case of no stub.
2024-12-18 13:02:14 -05:00
..
2024-12-16 17:58:08 -05:00
2024-11-20 16:21:35 -05:00
2024-11-20 16:21:35 -05:00
2024-11-20 16:21:35 -05:00
2024-11-20 16:21:35 -05:00
2024-11-20 16:21:35 -05:00
2024-11-20 16:21:35 -05:00
2024-12-08 23:59:27 -05:00
2024-11-20 16:21:35 -05:00
2024-11-20 16:21:35 -05:00
2024-11-20 16:21:35 -05:00