Fix #1039 - Fix typo in user model 'oublished' to 'published'
This commit is contained in:
parent
dd73391663
commit
34b755f43d
@ -216,7 +216,7 @@ class User(Base, UserMixin):
|
|||||||
published = UTC.localize(self.created)
|
published = UTC.localize(self.created)
|
||||||
user = {
|
user = {
|
||||||
"id": "acct:{0}@{1}".format(self.username, request.host),
|
"id": "acct:{0}@{1}".format(self.username, request.host),
|
||||||
"oublished": published.isoformat(),
|
"published": published.isoformat(),
|
||||||
"preferredUsername": self.username,
|
"preferredUsername": self.username,
|
||||||
"displayName": "{0}@{1}".format(self.username, request.host),
|
"displayName": "{0}@{1}".format(self.username, request.host),
|
||||||
"objectType": self.object_type,
|
"objectType": self.object_type,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user