Fixed returnValue of get-timeline
This commit is contained in:
parent
29b82abead
commit
78f258495d
|
@ -27,7 +27,7 @@ export default class Timeline {
|
||||||
|
|
||||||
public static ready() {
|
public static ready() {
|
||||||
ipcMain.on('add-timeline', (event: Event, name: string, type: string) => this.onAddTimeline(event, name, type))
|
ipcMain.on('add-timeline', (event: Event, name: string, type: string) => this.onAddTimeline(event, name, type))
|
||||||
ipcMain.on('get-timeline', (event: Event, id: string) => event.returnValue = this.getTimeline(id))
|
ipcMain.on('get-timeline', async (event: Event, id: string) => event.returnValue = await this.getTimeline(id))
|
||||||
|
|
||||||
ipcMain.on('no-auth-timeline', (event: Event, name: string) => this.onNoAuthTimeline(event, name))
|
ipcMain.on('no-auth-timeline', (event: Event, name: string) => this.onNoAuthTimeline(event, name))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user