diff --git a/django/frontend/static/js/api/Notice.js b/django/frontend/static/js/api/Notice.js index 57a253b..43e1771 100644 --- a/django/frontend/static/js/api/Notice.js +++ b/django/frontend/static/js/api/Notice.js @@ -24,8 +24,6 @@ export default class Notice { this._socket.onmessage = async message => { const data = JSON.parse(message.data); - console.log(data); - if (data.type === 'friend_request') { this.friend_request(data.author); } else if (data.type === 'new_friend') { diff --git a/django/frontend/static/js/views/Search.js b/django/frontend/static/js/views/Search.js index a7a3224..1357346 100644 --- a/django/frontend/static/js/views/Search.js +++ b/django/frontend/static/js/views/Search.js @@ -31,11 +31,6 @@ export default class extends AbstractView { this.profiles.filter(user => user.username.toLowerCase().startsWith(search) == true).forEach(async (user) => { - if (user.id == null) { - console.log("list User one with id null;"); - return; - } - const new_user = document.createElement("li"); // username