fix: eslint/prettier formatting and type-only imports

- Use type-only import for HttpContext in exceptions/handler.ts
- Use #services alias instead of relative path in device_record.ts
- Reformat api_key_middleware and cwmp_logger_middleware per prettier
This commit is contained in:
Kevin L'Hereec committed 2026-07-22 10:35:49 +02:00
1 parent 9cceb139b7
commit 4177f1adbd
4 files changed
+49 -32

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
import app from '@adonisjs/core/services/app'
import { HttpContext, ExceptionHandler } from '@adonisjs/core/http'
import { type HttpContext, ExceptionHandler } from '@adonisjs/core/http'
export default class HttpExceptionHandler extends ExceptionHandler {
protected debug = !app.inProduction