payload-plugin-newsletter 0.17.2 → 0.17.4

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
@@ -2857,7 +2857,7 @@ var createSignoutEndpoint = (_config) => {
2857
2857
  };
2858
2858
 
2859
2859
  // src/endpoints/broadcasts/index.ts
2860
- var createBroadcastManagementEndpoints = (config) => {
2860
+ var createBroadcastManagementEndpoints = (_config) => {
2861
2861
  return [];
2862
2862
  };
2863
2863
 
@@ -3904,7 +3904,7 @@ async function requireAdmin(req, config) {
3904
3904
  // src/endpoints/broadcasts/send.ts
3905
3905
  var createSendBroadcastEndpoint = (config, collectionSlug) => {
3906
3906
  return {
3907
- path: `/${collectionSlug}/:id/send`,
3907
+ path: "/:id/send",
3908
3908
  method: "post",
3909
3909
  handler: async (req) => {
3910
3910
  try {
@@ -3988,7 +3988,7 @@ var createSendBroadcastEndpoint = (config, collectionSlug) => {
3988
3988
  init_types();
3989
3989
  var createScheduleBroadcastEndpoint = (config, collectionSlug) => {
3990
3990
  return {
3991
- path: `/${collectionSlug}/:id/schedule`,
3991
+ path: "/:id/schedule",
3992
3992
  method: "post",
3993
3993
  handler: async (req) => {
3994
3994
  try {
@@ -4091,7 +4091,7 @@ var createScheduleBroadcastEndpoint = (config, collectionSlug) => {
4091
4091
  // src/endpoints/broadcasts/test.ts
4092
4092
  var createTestBroadcastEndpoint = (config, collectionSlug) => {
4093
4093
  return {
4094
- path: `/${collectionSlug}/:id/test`,
4094
+ path: "/:id/test",
4095
4095
  method: "post",
4096
4096
  handler: async (req) => {
4097
4097
  try {
@@ -4172,9 +4172,9 @@ var createTestBroadcastEndpoint = (config, collectionSlug) => {
4172
4172
  };
4173
4173
 
4174
4174
  // src/endpoints/broadcasts/preview.ts
4175
- var createBroadcastPreviewEndpoint = (config, collectionSlug) => {
4175
+ var createBroadcastPreviewEndpoint = (config, _collectionSlug) => {
4176
4176
  return {
4177
- path: `/${collectionSlug}/preview`,
4177
+ path: "/preview",
4178
4178
  method: "post",
4179
4179
  handler: async (req) => {
4180
4180
  try {