Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix file upload chunking #15

Merged
merged 3 commits into from
Nov 29, 2023
Merged

Fix file upload chunking #15

merged 3 commits into from
Nov 29, 2023

Conversation

dimitrov-d
Copy link
Contributor

No description provided.

async function uploadFilesToS3(
uploadLinks: (FileMetadata & { url?: string })[],
files: (FileMetadata & { index?: string })[],
) {
const s3Api = axios.create();
const uploadWorkers = [];

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

throw new Error(`Cant find file ${link.path}${link.fileName}!`);
change to
throw new Error(`Unable to find file matching upload link: ${link.path}${link.fileName}!`);

@tinemlakar tinemlakar merged commit 43f3114 into Apillon:master Nov 29, 2023
@dimitrov-d dimitrov-d deleted the 1.0 branch November 29, 2023 16:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants