Fix build.
This commit is contained in:
parent
c337e6d38a
commit
b98571302a
|
@ -57,7 +57,7 @@ export class BaseSocket {
|
||||||
const ctx = createContext(this.app, socket)
|
const ctx = createContext(this.app, socket)
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await runMiddlewares(ctx, middlewares, () => {
|
await runMiddlewares(ctx, middlewares, async () => {
|
||||||
// Middlewares are finished
|
// Middlewares are finished
|
||||||
// Extract some data from our enriched koa context to persist
|
// Extract some data from our enriched koa context to persist
|
||||||
// as metadata for the socket
|
// as metadata for the socket
|
||||||
|
|
Loading…
Reference in New Issue