1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-23 13:46:45 +02:00

fix: rm console

This commit is contained in:
Fredrik Oseberg 2023-12-07 12:03:27 +01:00
parent 5f3f5fd81d
commit c87d356b77
No known key found for this signature in database
GPG Key ID: 816A423246CADD4E

View File

@ -52,8 +52,6 @@ const apiAccessMiddleware = (
? req.header('x-unleash-auth')
: req.header('authorization');
console.log('TOKEN', apiToken, req.headers);
if (!apiToken?.startsWith('user:')) {
const apiUser = apiToken
? apiTokenService.getUserForToken(apiToken)