2024-03-09 23:43:54 +00:00

7 lines
193 B
JavaScript
Executable File

import withAuthentication from "../withAuthentication"
export default async (req, res, next) => {
if (req.headers?.authorization) {
await withAuthentication(req, res, next)
}
}