mirror of
https://github.com/phishingclub/phishingclub.git
synced 2026-08-23 19:02:34 +02:00
add send .ics as calendar invite
Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
@@ -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