mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-03 23:36:21 +02:00
10 lines
277 B
JavaScript
10 lines
277 B
JavaScript
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
class SilentAuthMiddleware {
|
|
async handle({ auth }, next) {
|
|
await auth.check();
|
|
await next();
|
|
}
|
|
}
|
|
exports.default = SilentAuthMiddleware;
|
|
//# sourceMappingURL=SilentAuth.js.map
|