diff --git a/start/routes.ts b/start/routes.ts index 0bded1c..d9c7401 100644 --- a/start/routes.ts +++ b/start/routes.ts @@ -287,5 +287,5 @@ Route.post("/api/sendMailInforDevice", async () => { } catch (error) { console.log(error) } -}) +}).middleware("checkToken")