diff --git a/wikipack/stars/api_wiki.py b/wikipack/stars/api_wiki.py index 7f49f291..f7ddbb8b 100644 --- a/wikipack/stars/api_wiki.py +++ b/wikipack/stars/api_wiki.py @@ -249,7 +249,8 @@ class ApiWikiStar(rca.ApiStar): pages = await ru.asyncify( data.session.query(WikiRevisionT).filter_by(page_id=lr.page_id).all ) - data.session.delete(pages) + for page in pages: + data.session.delete(page) data.session.add(deletion) await data.session_commit() diff --git a/wikipack/version.py b/wikipack/version.py index 4d67bd1a..ad03fe3c 100644 --- a/wikipack/version.py +++ b/wikipack/version.py @@ -1 +1 @@ -semantic = "1.1.1" +semantic = "1.1.2"