diff --git a/src/lib/features/metrics/instance/register.ts b/src/lib/features/metrics/instance/register.ts index 3a965dda81..00dda75d1f 100644 --- a/src/lib/features/metrics/instance/register.ts +++ b/src/lib/features/metrics/instance/register.ts @@ -79,7 +79,7 @@ export default class RegisterController extends Controller { private static extractProjectFromRequest( req: IAuthRequest, ) { - const token = req.get('Authorisation'); + const token = req.get('Authorisation') || req.headers.authorization; if (token) { return token.split(':')[0]; }