This commit is contained in:
j 2020-09-11 13:57:54 +02:00
parent ca7741f92c
commit 40edf9dd4a
2 changed files with 2 additions and 2 deletions

View file

@ -9,7 +9,7 @@ def extract_fulltext(id):
@task(queue='default')
def builk_edit(data, username):
def bulk_edit(data, username):
from django.db import transaction
from . import models
from item.models import Item

View file

@ -133,7 +133,7 @@ def editDocument(request, data):
if data['id']:
if isinstance(data['id'], list):
add_changelog(request, data)
t = tasks.builk_edit.delay(data, request.user.username)
t = tasks.bulk_edit.delay(data, request.user.username)
response['data']['taskId'] = t.task_id
else:
document = models.Document.get(data['id'])