Fix: Usernotes no longer actually work.

This commit is contained in:
Ben Rog-Wilhelm 2022-11-11 16:13:55 -06:00 committed by Ben Rog-Wilhelm
parent 583f4131dc
commit 127aed8dd0
3 changed files with 12 additions and 6 deletions

View file

@ -542,6 +542,16 @@ class User(Base):
return data
@lazy
def json_notes(self, v):
data = {'username': self.username,
'url': self.url,
'id': self.id,
'notes': [x.json() for x in self.notes]
}
return data
@property
@lazy
def json_raw(self):