mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-14 03:00:46 +02:00
improve send again texts
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
1 parent
4d8aac54a1
commit
7d2fb2b888
3 files changed
+54
-37
No files matched your search
@@ -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>}
|
||||
|
||||
Reference in new issue
Block a user