1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-08-13 13:48:59 +02:00
This commit is contained in:
sjaanus 2024-04-15 13:09:24 +03:00
parent 573a04531a
commit ea40063218
No known key found for this signature in database
GPG Key ID: 20E007C0248BA7FF
2 changed files with 0 additions and 3 deletions

View File

@ -423,7 +423,6 @@ export default class ClientApplicationsStore
}
private remapUsageRow = (input) => {
console.log(input);
if (this.flagResolver.isEnabled('parseProjectFromSession')) {
if (!input.projects || input.projects.length === 0) {
return [

View File

@ -104,10 +104,8 @@ export default class RegisterController extends Controller {
data.environment = this.resolveEnvironment(user, data);
if (this.flagResolver.isEnabled('parseProjectFromSession')) {
data.projects = this.resolveProject(user);
console.log('Project from session: ', data.projects);
} else {
data.project = this.extractProjectFromRequest(req);
console.log('Project from request: ', data.project);
}
await this.clientInstanceService.registerClient(data, clientIp);