use unused var

This commit is contained in:
waleed
2026-02-11 14:59:16 -08:00
parent 102d24eb14
commit 2ba8bd37bd

View File

@@ -237,7 +237,7 @@ export async function DELETE(request: NextRequest) {
}
const encodedLabel = encodeURIComponent(labelName.trim())
const url = `https://api.atlassian.com/ex/confluence/${cloudId}/wiki/rest/api/content/${pageId}/label?name=${encodeURIComponent(labelName.trim())}`
const url = `https://api.atlassian.com/ex/confluence/${cloudId}/wiki/rest/api/content/${pageId}/label?name=${encodedLabel}`
const response = await fetch(url, {
method: 'DELETE',