-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Add 2MB per-file size limit for Corpay document uploads #88426
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
Changes from all commits
2adef77
c6c6286
7747c4e
1839dd8
cf666f7
fe2f998
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -680,10 +680,13 @@ const CONST = { | |
| PERSONAL: 'PERSONAL', | ||
| }, | ||
| }, | ||
| NON_USD_BANK_ACCOUNT: { | ||
| CORPAY_DOCUMENT: { | ||
| ALLOWED_FILE_TYPES: ['pdf', 'jpg', 'jpeg', 'png'], | ||
| FILE_LIMIT: 1, | ||
| MAX_FILE_SIZE: 2097152, | ||
| TOTAL_FILES_SIZE_LIMIT: 5242880, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The 'Explanation of change' in the PRs description already touches on that but this PR doesn't fix it - I think it could've but its outside of the scope of this issue. CONST is defined but it's not referenced anywhere and despite the texts on the pages we do not enforce this total 5mb file size, anywhere, at all.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah I will fix this in another PR |
||
| }, | ||
| NON_USD_BANK_ACCOUNT: { | ||
| PURPOSE_OF_TRANSACTION_ID: 'Intercompany_Payment', | ||
| CURRENT_USER_KEY: 'currentUser', | ||
| CORPAY_UNDEFINED_OPTION_VALUE: 'Undefined', | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.