1
0
Fork 0
mirror of synced 2024-09-30 17:18:14 +13:00

Update comments

This commit is contained in:
Andrew Kingston 2023-06-27 17:45:24 +01:00
parent f0c8cb82b2
commit ee74900abb

View file

@ -48,8 +48,8 @@ export const createContext = (
}
/**
* Runs a list of middlewares, nesting each callback inside each other mimic
* how the real middlewares run and ensuring that app or tenant context work
* Runs a list of middlewares, nesting each callback inside each other to mimic
* how the real middlewares run and ensuring that app and tenant contexts work
* as expected
* @param ctx the Koa context
* @param middlewares the array of middlewares to run