Display the list of inbox entries

This commit is contained in:
2025-05-12 19:13:14 +02:00
parent e55b99b264
commit 76f9e37ded
2 changed files with 118 additions and 6 deletions

View File

@ -54,4 +54,19 @@ export class InboxApi {
})
).data;
}
/**
* Update inbox entry
*/
static async Update(
inbox: InboxEntry & InboxEntryUpdate
): Promise<InboxEntry> {
return (
await APIClient.exec({
uri: `/inbox/${inbox.id}`,
method: "PUT",
jsonData: inbox,
})
).data;
}
}