Commit 7e11aab4 authored by jyong's avatar jyong

map exist values

parent ff594cdc
...@@ -481,7 +481,7 @@ class DocumentService: ...@@ -481,7 +481,7 @@ class DocumentService:
exist_document.pop(page['page_id']) exist_document.pop(page['page_id'])
# delete not selected documents # delete not selected documents
if len(exist_document) > 0: if len(exist_document) > 0:
clean_notion_document_task.delay(exist_document.values(), dataset.id) clean_notion_document_task.delay(list(exist_document.values()), dataset.id)
db.session.commit() db.session.commit()
# trigger async task # trigger async task
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment