From a23e458e560d2b572b7a731c41321b5830ada66e Mon Sep 17 00:00:00 2001 From: Alfred Rosenthal Date: Tue, 16 Jan 2024 12:07:10 -0800 Subject: [PATCH] clean up console logs --- api/src/repositories/submission-repository.ts | 1 - api/src/services/region-service.ts | 1 - .../admin/dashboard/components/UnreviewedSubmissionsTable.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/api/src/repositories/submission-repository.ts b/api/src/repositories/submission-repository.ts index dc4b0813..93fb4cd2 100644 --- a/api/src/repositories/submission-repository.ts +++ b/api/src/repositories/submission-repository.ts @@ -1234,7 +1234,6 @@ export class SubmissionRepository extends BaseRepository { `; const response = await this.connection.sql(sqlStatement, SubmissionRecordWithSecurityAndRootFeatureType); - console.log(response.rows); return response.rows; } diff --git a/api/src/services/region-service.ts b/api/src/services/region-service.ts index 8582ec53..d39b4715 100644 --- a/api/src/services/region-service.ts +++ b/api/src/services/region-service.ts @@ -18,7 +18,6 @@ export class RegionService extends DBService { */ async calculateAndAddRegionsForSubmission(submissionId: number, intersectThreshold = 1): Promise { const regionIds = await this.regionRepository.calculateRegionsForASubmission(submissionId, intersectThreshold); - console.log(regionIds); await this.regionRepository.insertSubmissionRegions(submissionId, regionIds); } } diff --git a/app/src/features/admin/dashboard/components/UnreviewedSubmissionsTable.tsx b/app/src/features/admin/dashboard/components/UnreviewedSubmissionsTable.tsx index 7027fd53..0dcbab4a 100644 --- a/app/src/features/admin/dashboard/components/UnreviewedSubmissionsTable.tsx +++ b/app/src/features/admin/dashboard/components/UnreviewedSubmissionsTable.tsx @@ -99,7 +99,6 @@ const UnreviewedSubmissionsTable = () => { {submissionRecords.map((submissionRecord) => { - console.log(submissionRecord.regions); return (