mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-24 08:40:26 +01:00
Lint and update
This commit is contained in:
@@ -10,7 +10,7 @@ export default class SilentAuthMiddleware {
|
||||
/**
|
||||
* Handle request
|
||||
*/
|
||||
public async handle ({ auth }: HttpContextContract, next: () => Promise<void>) {
|
||||
public async handle({ auth }: HttpContextContract, next: () => Promise<void>) {
|
||||
/**
|
||||
* Check if user is logged-in or not. If yes, then `ctx.auth.user` will be
|
||||
* set to the instance of the currently logged in user.
|
||||
|
||||
Reference in New Issue
Block a user