Skip to content

Commit

Permalink
master: clarify schema error on filesize constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesaimonetti committed Jul 10, 2015
1 parent 76c5843 commit 5582d46
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion applications/crossbar/src/api_util.erl
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ handle_max_filesize_exceeded(Context, Req1) ->
,cb_context:add_validation_error(<<"file">>
,<<"maxLength">>
,wh_json:from_list(
[{<<"message">>, <<"String must not be more than ", MaxLen/binary, " characters">>}
[{<<"message">>, <<"Files must not be more than ", MaxLen/binary, " bytes">>}
,{<<"target">>, Maximum}
])
,Context
Expand Down
1 change: 1 addition & 0 deletions deps/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ clean: $(MAKEDIRS)
rm -rf gen_smtp-0.0.1
rm -rf erlydtl-0.9.0
rm -rf jesse-1.0.1
rm -rf nksip-0.4

$(MAKEDIRS):
$(MAKE) -C $(@D) $(ACTION)

0 comments on commit 5582d46

Please sign in to comment.