Skip to content

Commit

Permalink
Allowing maxFrameSize param to be passed to PATCH /bucket/:id
Browse files Browse the repository at this point in the history
  • Loading branch information
LuisAlejandro committed Mar 25, 2024
1 parent 4a97bb7 commit 196f19b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/server/routes/buckets.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ BucketsRouter.prototype.updateBucketById = function (req, res, next) {
return next(new errors.NotFoundError('Bucket not found'));
}

const allowed = ['pubkeys', 'encryptionKey', 'publicPermissions'];
const allowed = ['pubkeys', 'encryptionKey', 'publicPermissions', 'maxFrameSize'];

for (let prop in req.body) {
if (allowed.indexOf(prop) !== -1) {
Expand Down

0 comments on commit 196f19b

Please sign in to comment.