backend-app-api: use promise router in cookie auth middleware

Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2024-04-09 12:18:32 +02:00
parent 837071a57b
commit d3344eec6f
@@ -15,7 +15,7 @@
*/
import { AuthService, HttpAuthService } from '@backstage/backend-plugin-api';
import { Router } from 'express';
import Router from 'express-promise-router';
const WELL_KNOWN_COOKIE_PATH_V1 = '/.backstage/auth/v1/cookie';