From 13dead47e0c67990e62964307349900ac3524e34 Mon Sep 17 00:00:00 2001 From: Cedric Conday <277679649+CedricConday@users.noreply.github.com> Date: Tue, 18 Aug 2026 09:50:25 +0000 Subject: [PATCH] docs(batches): drop the leading slash from the batch path example (#86) The batching docs require the relative path to start with `api/`, but one of the three examples used `/api/forms/popup`. The same inconsistent form was copied into the example script and the test fixture, so all three are aligned on the documented `api/` form. Fixes #86 --- examples/batches/send.js | 2 +- src/modules/batches/README.md | 2 +- src/modules/batches/batches.test.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/batches/send.js b/examples/batches/send.js index 0d4dae9..b4769bb 100644 --- a/examples/batches/send.js +++ b/examples/batches/send.js @@ -31,7 +31,7 @@ const params = { }, { method: "GET", - path: "/api/forms/popup", + path: "api/forms/popup", body: { filter: { name: "nodejs" diff --git a/src/modules/batches/README.md b/src/modules/batches/README.md index 41b03bf..ac51c71 100644 --- a/src/modules/batches/README.md +++ b/src/modules/batches/README.md @@ -27,7 +27,7 @@ const params = { }, { method: "GET", - path: "/api/forms/popup", + path: "api/forms/popup", body: { filter: { name: "test popup" diff --git a/src/modules/batches/batches.test.ts b/src/modules/batches/batches.test.ts index 8745601..94e1fa9 100644 --- a/src/modules/batches/batches.test.ts +++ b/src/modules/batches/batches.test.ts @@ -38,7 +38,7 @@ describe("Batches", () => { }, { method: "GET", - path: "/api/forms/popup", + path: "api/forms/popup", body: { filter: { name: "nodejs"