[API] Properly handle non-BigInt authorID's
spifory opened this issue · 0 comments
spifory commented
There should be some proper error handling for this. I initially did it like this because I was lazy, and once again to get the actual bot and API working.
The way it currently does it works, but it's quite hard to understand. It should at least specify that it needs a BigInt and not a random string instead of doing what it currently does.
tags/api/src/previews/previewService.ts
Lines 12 to 15 in 7bc95ab