-
Notifications
You must be signed in to change notification settings - Fork 112
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: refactor content import #732
base: main
Are you sure you want to change the base?
Conversation
@Emnaghz Thanks, can you please rebase your PR, also if you could plz update the PR description? |
}, | ||
@CsrfCheck(true) | ||
@Post('import') | ||
@UseInterceptors(FileInterceptor('file')) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we set a limit for file size ? if not we should stream it and pipe it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @Emnaghz
Nice work 👏
Left you some minor comments
Motivation
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change:
Please delete options that are not relevant.
Checklist: