Fix trailing comma was creating a one-tuple for tag author jsonify.

This commit is contained in:
voussoir 2021-01-07 22:33:45 -08:00
parent ea5a02f8b6
commit 1ee7ada891

View file

@ -1545,7 +1545,7 @@ class Tag(ObjectBase, GroupableMixin):
'name': self.name, 'name': self.name,
} }
if not minimal: if not minimal:
j['author'] = self.get_author().jsonify() if self.author_id else None, j['author'] = self.get_author().jsonify() if self.author_id else None
j['description'] = self.description j['description'] = self.description
j['children'] = [child.jsonify(minimal=True) for child in self.get_children()] j['children'] = [child.jsonify(minimal=True) for child in self.get_children()]