Skip to content

docs(batches): drop the leading slash from the batch path example (#86) - #109

Open
CedricConday wants to merge 1 commit into
mailerlite:mainfrom
CedricConday:fix/86-batch-path-api-prefix
Open

CedricConday wants to merge 1 commit into
mailerlite:mainfrom
CedricConday:fix/86-batch-path-api-prefix

Conversation

@CedricConday

Copy link
Copy Markdown
Contributor

The batching docs state the relative path must start with api/, but one of the examples used /api/forms/popup.

The same inconsistent form had been copied into the example script and the test fixture, so this aligns all three with the api/ form already used by the other examples in the same files:

  • src/modules/batches/README.md
  • examples/batches/send.js
  • src/modules/batches/batches.test.ts

No behaviour change — documentation, example and fixture only.

Fixes #86

AI-assisted, human-reviewed.

…ilerlite#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 mailerlite#86
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Batch path should start with api/ not /api/

1 participant