Skip to content

Commit 7453a2b

Browse files
committed
fix(confl): use recommended query param pattern for confluence route (#3202)
* fix(confl): use recommended query param pattern for confluence route * use unused var
1 parent bf41c78 commit 7453a2b

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=${encodedLabel}`
241241

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

0 commit comments

Comments
 (0)