Constructor
new InjectUserTeam()
Extends
- Middleware
Methods
(async) test(req, res, next, args =opt)
Inject the user's team into the request, or redirect to a login page.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
req |
|||
res |
|||
next |
|||
args = |
<optional> |