Fix #1039 - Fix typo in user model 'oublished' to 'published'

This commit is contained in:
Jessica Tallon 2014-11-20 10:14:43 +00:00
parent dd73391663
commit 34b755f43d

View File

@ -216,7 +216,7 @@ class User(Base, UserMixin):
published = UTC.localize(self.created)
user = {
"id": "acct:{0}@{1}".format(self.username, request.host),
"oublished": published.isoformat(),
"published": published.isoformat(),
"preferredUsername": self.username,
"displayName": "{0}@{1}".format(self.username, request.host),
"objectType": self.object_type,