From 589c4a6c5683cfc13a44a0a1265c84e394b20f31 Mon Sep 17 00:00:00 2001 From: Inga Kirschnick Date: Wed, 7 Jun 2023 13:51:12 +0200 Subject: [PATCH] print deletion --- app/corpora/routes.py | 1 - app/static/js/ResourceLists/CorpusFollowerList.js | 1 - 2 files changed, 2 deletions(-) diff --git a/app/corpora/routes.py b/app/corpora/routes.py index 1535f834..7d9b30d6 100644 --- a/app/corpora/routes.py +++ b/app/corpora/routes.py @@ -72,7 +72,6 @@ def corpus(corpus_id): ) if (current_user.is_following_corpus(corpus) or corpus.is_public): cfas = CorpusFollowerAssociation.query.filter(Corpus.id == corpus_id, CorpusFollowerAssociation.follower_id != corpus.user.id).all() - print(cfas) return render_template( 'corpora/public_corpus.html.j2', title=corpus.title, diff --git a/app/static/js/ResourceLists/CorpusFollowerList.js b/app/static/js/ResourceLists/CorpusFollowerList.js index c6e89290..ca70a6c7 100644 --- a/app/static/js/ResourceLists/CorpusFollowerList.js +++ b/app/static/js/ResourceLists/CorpusFollowerList.js @@ -185,7 +185,6 @@ class CorpusFollowerList extends ResourceList { case 'replace': { let re = new RegExp(`^/users/${this.userId}/corpora/${this.corpusId}/corpus_follower_associations/([A-Za-z0-9]*)/role$`); if (re.test(operation.path)) { - console.log('role updated'); let [match, jobId, valueName] = operation.path.match(re); this.replace(jobId, valueName, operation.value); }