forked from rDrama/rDrama
Snakes
47159f338d
The JSON API endpoints that return comments, most notably `/comments` returned 500s and created a stack trace with: TypeError: Object of type method is not JSON serializable Further debugging revealed this was because json.encoder was being given a <bound method lazy.<locals>.wrapper of <Comment(id=123)>> to serialize. The introduction of the bug was traced to |
||
---|---|---|
.. | ||
__init__.py | ||
alts.py | ||
award.py | ||
badges.py | ||
clients.py | ||
comment.py | ||
domains.py | ||
exiles.py | ||
flags.py | ||
follows.py | ||
lottery.py | ||
marsey.py | ||
mod.py | ||
mod_logs.py | ||
notifications.py | ||
saves.py | ||
sub.py | ||
sub_block.py | ||
submission.py | ||
subscriptions.py | ||
user.py | ||
userblock.py | ||
views.py | ||
votes.py |