Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
fix: remove backtick
Browse files Browse the repository at this point in the history
  • Loading branch information
simone-amadio-acn committed Sep 20, 2023
1 parent 339e692 commit 601c757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/utils/municipality/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -794,9 +794,7 @@ const getPages = async (
}

if (missingDataElements.length > 0) {
throw new DataElementError(
missingDataElements.map((el) => "`" + el).join(", ")
);
throw new DataElementError(missingDataElements.join(", "));
}

return pagesUrl;
Expand Down
4 changes: 1 addition & 3 deletions src/utils/school/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,9 +287,7 @@ const getPages = async (
}

if (missingDataElements.length > 0) {
throw new DataElementError(
missingDataElements.map((el) => "`" + el).join(", ")
);
throw new DataElementError(missingDataElements.join(", "));
}

return pagesUrl;
Expand Down

0 comments on commit 601c757

Please sign in to comment.