Skip to content

Commit

Permalink
fixed typo (strapi#7643)
Browse files Browse the repository at this point in the history
Signed-off-by: Garrett Fritz <garrettfritz@garretts-mbp.home>
  • Loading branch information
sebacampos authored and Garrett Fritz committed Sep 7, 2020
1 parent 0d6f483 commit 53cff43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/strapi-provider-upload-local/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ module.exports = {
init({ sizeLimit = 1000000 } = {}) {
const verifySize = file => {
if (file.size > sizeLimit) {
throw strapi.errors.badRequest('FileToBig', {
throw strapi.errors.badRequest('FileTooBig', {
errors: [
{
id: 'Upload.status.sizeLimit',
Expand Down

0 comments on commit 53cff43

Please sign in to comment.