This commit is contained in:
Aevann1 2021-10-18 18:06:57 +02:00
parent 5bedaf5d9c
commit ad396f1f29
2 changed files with 2 additions and 1 deletions

View file

@ -208,6 +208,7 @@ class Submission(Base):
if comment: self.__dict__["replies"] = [comment]
else: self.__dict__["replies"] = pinned_comment + index.get(self.fullname, [])
g.db.commit()
return render_template(template,
v=v,
p=self,

View file

@ -57,4 +57,4 @@ INSERT INTO public.users (
0, 0, '', true, 0);
SELECT pg_catalog.setval('public.users_id_seq', 7, true);
SELECT pg_catalog.setval('public.users_id_seq', 6, true);