Skip to content

Commit 4288eb8

Browse files
committed
fix: Update import path for PDF constants
1 parent 8033711 commit 4288eb8

File tree

4 files changed

+119
-2
lines changed

4 files changed

+119
-2
lines changed

backend/package-lock.json

Lines changed: 117 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"license": "ISC",
1414
"dependencies": {
1515
"aws-sdk": "^2.1692.0",
16+
"axios": "^1.12.2",
1617
"bcrypt": "^6.0.0",
1718
"cookie-parser": "^1.4.7",
1819
"cors": "^2.8.5",

backend/src/services/generatepdf.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import PDFDocument from 'pdfkit';
22
import axios from 'axios';
3-
import { PDF_CONSTANTS } from '../constants/pdfConstants.js';
3+
import { PDF_CONSTANTS } from '../constants.js';
44

55
const { COLORS, FONTS, SIZES, MARGINS, PAGE_LIMITS } = PDF_CONSTANTS;
66

frontend/src/pages/Dashboard/CVBuilder/steps/ConferencesStep.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,6 @@ const ConferencesStep = ({ formData, onArrayAdd, onArrayRemove, onArrayUpdate })
5050
fileName: file.name,
5151
fileSize: file.size
5252
};
53-
5453
onArrayUpdate('conferences', conferenceIndex, 'supportingDocument', documentData);
5554
setErrors(prev => ({ ...prev, [`conference_${conferenceIndex}`]: '' }));
5655
toast.success('Document uploaded successfully!');

0 commit comments

Comments
 (0)