Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
freddieptf committed Mar 7, 2024
1 parent 3188a11 commit 6ffc5f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/routes/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,11 @@ export default async function files(fastify: FastifyInstance) {
result.push(record);
results.set(place.type, result);
if (!hierarchyProps.has(place.type)) {
hierarchyProps.set(place.type, Object.keys(place.hierarchyProperties))
hierarchyProps.set(place.type, Object.keys(place.hierarchyProperties));
}
});
const zip = new JSZip();
results.forEach((places, contactType) => {
const parent = Config.getParentProperty(contactType);
const columns = [
...hierarchyProps.get(contactType)!!,
contactType.friendly,
Expand Down

0 comments on commit 6ffc5f9

Please sign in to comment.