mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 10:15:52 +01:00
server-ts: Convert routes/api/login
This commit is contained in:
@@ -44,7 +44,7 @@ function subscribeBeccaLoader(eventTypes: EventType, listener: EventListener) {
|
||||
}
|
||||
}
|
||||
|
||||
function emit(eventType: string, data: any) {
|
||||
function emit(eventType: string, data?: any) {
|
||||
const listeners = eventListeners[eventType];
|
||||
|
||||
if (listeners) {
|
||||
|
||||
Reference in New Issue
Block a user