mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-10-09 16:53:59 +02:00
add send .ics as calendar invite
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
1 parent
b1bace4cce
commit
432d3d2c74
10 files changed
+156
-23
No files matched your search
@@ -418,13 +418,15 @@ export class API {
|
||||
* @param {string} attachment.name
|
||||
* @param {string} attachment.description
|
||||
* @param {Boolean} attachment.embeddedContent
|
||||
* @param {Boolean} attachment.sendAsCalendar
|
||||
* @returns {Promise<ApiResponse>}
|
||||
*/
|
||||
update: async ({ id, name, description, embeddedContent }) => {
|
||||
update: async ({ id, name, description, embeddedContent, sendAsCalendar }) => {
|
||||
return await patchJSON(this.getPath(`/attachment/${id}`), {
|
||||
name: name,
|
||||
description: description,
|
||||
embeddedContent: embeddedContent
|
||||
embeddedContent: embeddedContent,
|
||||
sendAsCalendar: sendAsCalendar
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user