diff --git a/app/models.py b/app/models.py index afa0e40c..2cc6f0e3 100644 --- a/app/models.py +++ b/app/models.py @@ -271,7 +271,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
-