|
|
|
@ -126,7 +126,11 @@ class ClientService { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
deleteEventCacheByFilter(filter: Filter) { |
|
|
|
deleteEventCacheByFilter(filter: Filter) { |
|
|
|
|
|
|
|
try { |
|
|
|
this.eventCache.delete(JSON.stringify({ ...filter, limit: 1 })) |
|
|
|
this.eventCache.delete(JSON.stringify({ ...filter, limit: 1 })) |
|
|
|
|
|
|
|
} catch { |
|
|
|
|
|
|
|
// ignore
|
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
async fetchEventById(id: string): Promise<NEvent | undefined> { |
|
|
|
async fetchEventById(id: string): Promise<NEvent | undefined> { |
|
|
|
|