File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ exports.createServer = (dynamodb, docClient) => {
93
93
94
94
app . post (
95
95
'/create-table' ,
96
- bodyParser . urlencoded ( { extended : false , limit : '10mb ' } ) ,
96
+ bodyParser . urlencoded ( { extended : false , limit : '500kb ' } ) ,
97
97
( req , res , next ) => {
98
98
let attributeDefinitions = [
99
99
{
@@ -462,7 +462,7 @@ exports.createServer = (dynamodb, docClient) => {
462
462
463
463
app . put (
464
464
'/tables/:TableName/add-item' ,
465
- bodyParser . json ( { limit : '10mb ' } ) ,
465
+ bodyParser . json ( { limit : '500kb ' } ) ,
466
466
( req , res , next ) => {
467
467
const TableName = req . params . TableName
468
468
describeTable ( { TableName } )
@@ -492,7 +492,7 @@ exports.createServer = (dynamodb, docClient) => {
492
492
493
493
app . put (
494
494
'/tables/:TableName/items/:key' ,
495
- bodyParser . json ( { limit : '10mb ' } ) ,
495
+ bodyParser . json ( { limit : '500kb ' } ) ,
496
496
( req , res , next ) => {
497
497
const TableName = req . params . TableName
498
498
describeTable ( { TableName } )
You can’t perform that action at this time.
0 commit comments