This commit is contained in:
parent
c6164443ae
commit
34d8a59fd4
|
|
@ -15,7 +15,7 @@ export const uploadFile = async (
|
|||
|
||||
if (file.size > SIZE_LIMIT) {
|
||||
throw new Error(
|
||||
`File must be less than ${Math.floor(SIZE_LIMIT / 1000000)}MB`
|
||||
`File must be less than ${Math.floor(SIZE_LIMIT / 104857600)}MB`
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue