print deletion

This commit is contained in:
Inga Kirschnick 2023-06-07 13:51:12 +02:00
parent 9ffc41a133
commit 589c4a6c56
2 changed files with 0 additions and 2 deletions

View File

@ -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,

View File

@ -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);
}