Fix assert unreachable, remove unused variables (#13753)

Small code cleanup
This commit is contained in:
Félix Malfait
2025-08-08 09:04:45 +02:00
committed by GitHub
parent 8b4b9ef8da
commit 0236f79ccf
105 changed files with 172 additions and 315 deletions
@@ -2,8 +2,8 @@ import { Injectable } from '@nestjs/common';
import { type Entity } from '@microsoft/microsoft-graph-types';
import { QUERY_MAX_RECORDS } from 'twenty-shared/constants';
import { type ObjectLiteral } from 'typeorm';
import { resolveInput } from 'twenty-shared/utils';
import { type ObjectLiteral } from 'typeorm';
import {
type ObjectRecordFilter,
@@ -118,8 +118,8 @@ export class FindRecordsWorkflowAction implements WorkflowAction {
private async getObjectRecords<T extends ObjectLiteral>(
workflowActionInput: WorkflowFindRecordsActionInput,
objectMetadataItemWithFieldsMaps: ObjectMetadataItemWithFieldMaps,
objectMetadataMaps: ObjectMetadataMaps,
_objectMetadataItemWithFieldsMaps: ObjectMetadataItemWithFieldMaps,
_objectMetadataMaps: ObjectMetadataMaps,
repository: WorkspaceRepository<T>,
graphqlQueryParser: GraphqlQueryParser,
) {