From 22e9d9ff6456180304fae6334360d965451af5d5 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 29 Jul 2021 07:31:57 +0200 Subject: [PATCH] fddf --- drama/classes/comment.py | 3 +-- drama/classes/submission.py | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drama/classes/comment.py b/drama/classes/comment.py index 19102bcc1..6d7ee8fdc 100644 --- a/drama/classes/comment.py +++ b/drama/classes/comment.py @@ -138,8 +138,7 @@ class Comment(Base, Age_times, Scores, Stndrd, Fuzzing): for f in self.flags: flags[f.user.username] = f.reason data= { - 'id': self.base36id, - 'fullname': self.fullname, + 'id': self.id, 'level': self.level, 'author_name': self.author.username, 'body': self.body, diff --git a/drama/classes/submission.py b/drama/classes/submission.py index 1909d2a7b..fabfab17e 100644 --- a/drama/classes/submission.py +++ b/drama/classes/submission.py @@ -222,8 +222,7 @@ class Submission(Base, Stndrd, Age_times, Scores, Fuzzing): 'is_banned': bool(self.is_banned), 'deleted_utc': self.deleted_utc, 'created_utc': self.created_utc, - 'id': self.base36id, - 'fullname': self.fullname, + 'id': self.id, 'title': self.title, 'is_nsfw': self.over_18, 'is_bot': self.is_bot,