diff options
| author | Kit La Touche <kit@transneptune.net> | 2024-11-11 23:00:29 -0500 |
|---|---|---|
| committer | Kit La Touche <kit@transneptune.net> | 2024-11-11 23:00:29 -0500 |
| commit | e1cde26d8dc7342ee002eb02d9448c54905ec67c (patch) | |
| tree | 3c7347f7a253e669f29f7a8116ab4ad9f882518a /ui/lib/apiServer.js | |
| parent | a547bf3506b822d5ff4c1f1c6c4a15c63dd2d90e (diff) | |
| parent | a0fc6434cb1f65b558a0a94c5cdddf5d79d15206 (diff) | |
Merge branch 'main' into wip/stylize
Diffstat (limited to 'ui/lib/apiServer.js')
| -rw-r--r-- | ui/lib/apiServer.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/lib/apiServer.js b/ui/lib/apiServer.js index 6ada0f7..fee1a81 100644 --- a/ui/lib/apiServer.js +++ b/ui/lib/apiServer.js @@ -34,6 +34,10 @@ export async function postToChannel(channelId, body) { return apiServer.post(`/channels/${channelId}`, { body }); } +export async function deleteMessage(messageId) { + return apiServer.delete(`/messages/${messageId}`, {}); +} + export async function createInvite() { return apiServer.post(`/invite`, {}); } |
