chore: fix notification type on shared vault user removal (#2521)

This commit is contained in:
Karol Sójko
2023-09-20 17:01:07 +02:00
committed by GitHub
parent 09d139846e
commit 0d15858b5f
11 changed files with 21 additions and 21 deletions

View File

@@ -101,7 +101,7 @@ export class SharedVaultService
private async handleNotification(event: NotificationServiceEventPayload): Promise<void> {
switch (event.eventPayload.props.type.value) {
case NotificationType.TYPES.RemovedFromSharedVault: {
case NotificationType.TYPES.SelfRemovedFromSharedVault: {
const vault = this._getVault.execute<SharedVaultListingInterface>({
sharedVaultUuid: event.eventPayload.props.sharedVaultUuid.value,
})