mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-13 13:48:59 +02:00
Fix
This commit is contained in:
parent
573a04531a
commit
ea40063218
@ -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 [
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user