payload-plugin-newsletter 0.17.0 → 0.17.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -3515,7 +3515,7 @@ var createTestBroadcastEndpoint = (config, collectionSlug) => {
3515
3515
  // src/endpoints/broadcasts/preview.ts
3516
3516
  var createBroadcastPreviewEndpoint = (config, collectionSlug) => {
3517
3517
  return {
3518
- path: `/api/${collectionSlug}/preview`,
3518
+ path: `/${collectionSlug}/preview`,
3519
3519
  method: "post",
3520
3520
  handler: async (req) => {
3521
3521
  try {