-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Hello.
first of all, I think docs are outdated, cause APIErrorMiddleware requires an environment variable.
I tried to add the middleware:
let auth = router.grouped("auth").group(APIErrorMiddleware(environment: Environment.development))but it fails with error Type of expression is ambiguous without more context
How can I fix this?
Thanks in advance,
Dan.
Metadata
Metadata
Assignees
Labels
No labels