add send .ics as calendar invite

Signed-off-by: Ronni Skansing <rskansing@gmail.com>
This commit is contained in:
Ronni Skansing
2026-06-06 09:26:52 +02:00
parent b1bace4cce
commit 432d3d2c74
10 changed files with 156 additions and 23 deletions
+4 -2
View File
@@ -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
});
},