Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions rivetkit-typescript/packages/rivetkit/src/manager/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ export function buildManagerRouter(
} else {
// If no name is provided, try all registered actor types
// Actor IDs are globally unique, so we'll find it in one of them
for (const actorName of Object.keys(
config.use,
)) {
for (const actorName of Object.keys(config.use)) {
const actorOutput =
await managerDriver.getForId({
c,
Expand Down Expand Up @@ -437,7 +435,9 @@ export function buildManagerRouter(
params,
);

return await createTestWebSocketProxy(clientToProxyWsPromise);
return await createTestWebSocketProxy(
clientToProxyWsPromise,
);
})(c, noopNext());
});

Expand Down Expand Up @@ -555,10 +555,7 @@ export function buildManagerRouter(
handleMetadataRequest(c, config, { normal: {} }, undefined),
);

managerDriver.modifyManagerRouter?.(
config,
router as unknown as Hono,
);
managerDriver.modifyManagerRouter?.(config, router as unknown as Hono);
});
}

Expand Down
Loading