mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-05 15:32:19 +00:00
Consolidate the messages into the same enum
This commit is contained in:
parent
888f5f8bb6
commit
ce632a25cf
11 changed files with 85 additions and 54 deletions
|
|
@ -92,7 +92,7 @@ export async function deleteClient(
|
|||
await rebuildClientAssociationsFromClient(deletedClient, trx);
|
||||
|
||||
if (olm) {
|
||||
await sendTerminateClient(deletedClient.clientId, OlmErrorCodes.TERMINATED_DELETED, "Deleted", olm.olmId); // the olmId needs to be provided because it cant look it up after deletion
|
||||
await sendTerminateClient(deletedClient.clientId, OlmErrorCodes.TERMINATED_DELETED, olm.olmId); // the olmId needs to be provided because it cant look it up after deletion
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue