diff options
author | 2018-07-27 17:14:49 +0100 | |
---|---|---|
committer | 2018-07-27 17:14:49 +0100 | |
commit | 3f615819febbe7dee7887fe72fb7fd2bdb85def8 (patch) | |
tree | 78ed63629b33f8a399e9f9e580abdbbc46b39dcc | |
parent | Don't remove basic user objects, add API for querying them (diff) |
Fix a couple dumb mistakes
-rw-r--r-- | pysite/views/api/bot/user.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pysite/views/api/bot/user.py b/pysite/views/api/bot/user.py index c8d769d5..5a096f2c 100644 --- a/pysite/views/api/bot/user.py +++ b/pysite/views/api/bot/user.py @@ -1,6 +1,6 @@ import logging -import rethinkdb +import rethinkdb from flask import jsonify, request from schema import Optional, Schema @@ -97,6 +97,8 @@ class UserView(APIView, DBMixin): def delete(self, data): user_ids = [user["user_id"] for user in data] + changes = {} + # changes = self.db.run( # self.db.query(self.table_name) # .get_all(*user_ids) |