improve send again texts

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing committed 2025-09-18 14:49:53 +02:00
1 parent 4d8aac54a1
commit 7d2fb2b888
3 files changed
+54 -37

No files matched your search

+11 -1
View File
@@ -727,7 +727,17 @@ export class API {
},
/**
* Send email to campaign recipient
* Send message to campaign recipient (works for both email and API senders)
*
* @param {string} campaignRecipientID
* @returns {Promise<ApiResponse>}
*/
sendMessage: async (campaignRecipientID) => {
return await postJSON(this.getPath(`/campaign/recipient/${campaignRecipientID}/send`));
},
/**
* Send email to campaign recipient (alias for sendMessage for backward compatibility)
*
* @param {string} campaignRecipientID
* @returns {Promise<ApiResponse>}