Fix #1039 - Fix typo in user model 'oublished' to 'published'
authorJessica Tallon <jessica@megworld.co.uk>
Thu, 20 Nov 2014 10:14:43 +0000 (10:14 +0000)
committerJessica Tallon <jessica@megworld.co.uk>
Thu, 20 Nov 2014 10:14:43 +0000 (10:14 +0000)
mediagoblin/db/models.py

index 4e733fa3dabac32781e63954727ad6d5867fe39e..2de319d6702584c83c13924d673a6e8ca6d3ea1a 100644 (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,