Skip to content

Commit 102d24e

Browse files
committed
fix(confl): use recommended query param pattern for confluence route
1 parent 639d50d commit 102d24e

File tree

1 file changed

+1
-1
lines changed
  • apps/sim/app/api/tools/confluence/labels

1 file changed

+1
-1
lines changed

apps/sim/app/api/tools/confluence/labels/route.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ export async function DELETE(request: NextRequest) {
237237
}
238238

239239
const encodedLabel = encodeURIComponent(labelName.trim())
240-
const url = `https://api.atlassian.com/ex/confluence/${cloudId}/wiki/rest/api/content/${pageId}/label/${encodedLabel}`
240+
const url = `https://api.atlassian.com/ex/confluence/${cloudId}/wiki/rest/api/content/${pageId}/label?name=${encodeURIComponent(labelName.trim())}`
241241

242242
const response = await fetch(url, {
243243
method: 'DELETE',

0 commit comments

Comments
 (0)