Skip to content

Commit

Permalink
fix: solve import
Browse files Browse the repository at this point in the history
  • Loading branch information
EmmanuelDemey committed Feb 19, 2024
1 parent 9607de5 commit 78964ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions functions/src/generator/lib/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ function getSponsoringFees(sponsoringConfiguration: SponsorshipConfiguration): [
function generateFile(
config: any,
fileName: string,
file: any,
fileModule: any,
settings: Settings,
invoiceType: any,
configurationFromFirestore: Configuration
) {
const file = fileModule.default;
const getOfficialName = () => {
if (!!config.officialName) {
return config.officialName;
Expand Down Expand Up @@ -174,7 +175,6 @@ export function generateConvention(config: any, settings: Settings, configuratio
? require("./template_devfest/convention_en")
: require("./template_cloudnord/convention_fr");

console.log(ConventionFr);
return generateFile(
config,
`convention_${config.id}.pdf`,
Expand Down

0 comments on commit 78964ba

Please sign in to comment.