Skip to content

Commit

Permalink
Fix listing of terminals
Browse files Browse the repository at this point in the history
  • Loading branch information
jtpio committed May 30, 2024
1 parent 2f20f35 commit 69736f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const terminalsRoutesPlugin: JupyterLiteServerPlugin<void> = {

// GET /api/terminals - List the running terminals
app.router.get('/api/terminals', async (req: Router.IRequest) => {
const res = terminals.list();
const res = await terminals.list();
// Should return last_activity for each too,
return new Response(JSON.stringify(res));
});
Expand Down

0 comments on commit 69736f2

Please sign in to comment.