diff --git a/app/models.py b/app/models.py index fbec78fa..affcd79b 100644 --- a/app/models.py +++ b/app/models.py @@ -269,7 +269,7 @@ class Avatar(HashidMixin, FileMixin, db.Model): def to_json_serializeable(self, backrefs=False, relationships=False): json_serializeable = { - 'id': self.id + 'id': self.hashid } return json_serializeable diff --git a/app/static/js/RessourceLists/PublicUserList.js b/app/static/js/RessourceLists/PublicUserList.js index 4597ed3e..f00e145d 100644 --- a/app/static/js/RessourceLists/PublicUserList.js +++ b/app/static/js/RessourceLists/PublicUserList.js @@ -7,7 +7,6 @@ class PublicUserList extends RessourceList { static options = { initialHtmlGenerator: (id) => { - console.log(id); return `
Social
-