feat(wiki): add batch tag remove mode to admin wiki page

Add add/remove toggle to batch tag picker. Clean up unused requireAdmin
import from wiki sync route.
This commit is contained in:
Jennie Robinson Faber 2026-04-09 23:52:00 +01:00
parent a516f172fb
commit 50a358b294
3 changed files with 25 additions and 17 deletions

View file

@ -1,6 +1,5 @@
import WikiArticle from '../../../models/wikiArticle.js'
import { connectDB } from '../../../utils/mongoose.js'
import { requireAdmin } from '../../../utils/auth.js'
import { fetchAllDocuments, extractSummary } from '../../../utils/outline.js'
export default defineEventHandler(async (event) => {