We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 102d24e commit 2ba8bd3Copy full SHA for 2ba8bd3
apps/sim/app/api/tools/confluence/labels/route.ts
@@ -237,7 +237,7 @@ export async function DELETE(request: NextRequest) {
237
}
238
239
const encodedLabel = encodeURIComponent(labelName.trim())
240
- 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}`
241
242
const response = await fetch(url, {
243
method: 'DELETE',
0 commit comments