Skip to content

Commit

Permalink
fix implicit any warning
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarkowsky committed Dec 4, 2024
1 parent 67abffb commit 1bbc913
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions express-api/src/services/projects/projectsServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -552,13 +552,16 @@ const handleProjectAgencyResponses = async (
);
await queryRunner.manager.save(
ProjectAgencyResponse,
newProject.AgencyResponses.map((resp) => ({
...resp,
ProjectId: newProject.Id,
CreatedById: newProject.CreatedById,
DeletedById: null,
DeletedOn: null,
})),
newProject.AgencyResponses.map(
(resp) =>
({
...resp,
ProjectId: newProject.Id,
CreatedById: newProject.CreatedById,
DeletedById: null,
DeletedOn: null,
}) as ProjectAgencyResponse,
),
);
}
};
Expand Down

0 comments on commit 1bbc913

Please sign in to comment.