Open iloveitaly opened 1 month ago
This is by design. This allows the campaign to be tested before it’s saved to the DB. Having to save every change to the DB only to test it is not ideal.
Got it, that case makes sense.
Does this apply to after the campaign is created and persisted to the DB? Would be better for users if only subscriptions
is required to send test emails if the campaign has already been fully created.
The docs state that only subscriptions
is required, so I can submit a PR to better document this functionality.
Yep, it always takes the inputs from the form, saved or unsaved, to send the test. Please do send a PR to fix the docs. Thank you.
Version:
Description of the bug and steps to reproduce: The
/test
endpoint seems to require all params that the creation endpoint does. Just passingsubscribers
returns a validation error.I ran into this when building https://github.com/iloveitaly/listmonk-newsletter