Fix trailing comma was creating a one-tuple for tag author jsonify.
This commit is contained in:
parent
ea5a02f8b6
commit
1ee7ada891
1 changed files with 1 additions and 1 deletions
|
@ -1545,7 +1545,7 @@ class Tag(ObjectBase, GroupableMixin):
|
|||
'name': self.name,
|
||||
}
|
||||
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['children'] = [child.jsonify(minimal=True) for child in self.get_children()]
|
||||
|
||||
|
|
Loading…
Reference in a new issue