Skip to content

Commit

Permalink
fix: Engines entry name
Browse files Browse the repository at this point in the history
  • Loading branch information
ianshade committed May 8, 2020
1 parent 7c3d2be commit 232e338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class MSERep extends EventEmitter implements MSE {
async getEngines (): Promise<VizEngine[]> {
await this.checkConnection()
let handlers = await this.pep.getJS('/scheduler')
let vizEntries: AtomEntry[] = (handlers.js as any).scheduler.handler
let vizEntries: AtomEntry[] = (handlers.js as any).entry.handler
.filter((x: any) => x.$.type === 'viz')
let viz = await Promise.all(vizEntries.map(x => flattenEntry(x)))
return viz as VizEngine[]
Expand Down

0 comments on commit 232e338

Please sign in to comment.