mirror of
https://github.com/ToolJet/ToolJet
synced 2026-05-23 08:58:26 +00:00
removed console logs
This commit is contained in:
parent
c8ff0dcf58
commit
345e39cc94
6 changed files with 0 additions and 18 deletions
|
|
@ -96,8 +96,6 @@ export class AppsControllerV2 {
|
|||
response['pages'] = pagesForVersion;
|
||||
response['events'] = eventsForVersion;
|
||||
|
||||
console.log({ app });
|
||||
|
||||
//! if editing version exists, camelize the definition
|
||||
if (app.editingVersion) {
|
||||
const appTheme = await this.appsServiceSep.getTheme(
|
||||
|
|
|
|||
|
|
@ -189,9 +189,6 @@ export class GroupPermissionsControllerV2 {
|
|||
|
||||
const granularPermissions = await this.granularPermissionsService.get(granularPermissionsId);
|
||||
const group = granularPermissions.group;
|
||||
console.log('logging user');
|
||||
|
||||
console.log(user);
|
||||
|
||||
validateGranularPermissionUpdateOperation(group, user.organizationId);
|
||||
return await this.granularPermissionsService.update(granularPermissionsId, {
|
||||
|
|
|
|||
|
|
@ -138,8 +138,6 @@ export function validateCreateGroupOperation(createGroupPermissionDto: CreateGro
|
|||
const humanizeList = ['End-user', 'Builder', 'Admin'];
|
||||
|
||||
if (humanizeList.includes(createGroupPermissionDto.name)) {
|
||||
console.log('this is running');
|
||||
|
||||
throw new BadRequestException(ERROR_HANDLER.DEFAULT_GROUP_NAME);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -191,7 +191,6 @@ export class AppsService {
|
|||
resources: [{ resource: TOOLJET_RESOURCE.APP }],
|
||||
organizationId: user.organizationId,
|
||||
});
|
||||
console.log(userPermission);
|
||||
|
||||
return await dbTransactionWrap(async (manager: EntityManager) => {
|
||||
const apps = await viewableAppsQueryUsingPermissions(
|
||||
|
|
@ -201,9 +200,6 @@ export class AppsService {
|
|||
searchKey
|
||||
).getCount();
|
||||
|
||||
console.log('Apps are to show');
|
||||
console.log(apps);
|
||||
|
||||
return apps;
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -573,9 +573,6 @@ export class OrganizationsService {
|
|||
email: inviteNewUserDto.email,
|
||||
...getUserStatusAndSource(lifecycleEvents.USER_INVITE),
|
||||
};
|
||||
console.log('user is');
|
||||
|
||||
console.log(inviteNewUserDto);
|
||||
|
||||
const groups = inviteNewUserDto?.groups;
|
||||
const role = inviteNewUserDto.role;
|
||||
|
|
@ -640,10 +637,8 @@ export class OrganizationsService {
|
|||
true,
|
||||
manager
|
||||
);
|
||||
console.log('good till here');
|
||||
|
||||
await this.usersService.attachUserGroup(groups, currentOrganization.id, user.id, manager);
|
||||
console.log('not good till here');
|
||||
const name = fullName(currentUser.firstName, currentUser.lastName);
|
||||
if (shouldSendWelcomeMail) {
|
||||
this.emailService
|
||||
|
|
|
|||
|
|
@ -54,8 +54,6 @@ export class AbilityService {
|
|||
if (resources && resources.some((item) => item.resource === TOOLJET_RESOURCE.APP)) {
|
||||
userPermissions[TOOLJET_RESOURCE.APP] = await this.createUserAppsPermissions(appsGranularPermissions, user);
|
||||
}
|
||||
console.log(userPermissions);
|
||||
|
||||
return userPermissions;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue