Get update app activities working

This commit is contained in:
Jonas L
2019-04-15 00:00:00 +00:00
parent cd953319ce
commit aa141c33a2
3 changed files with 12 additions and 4 deletions
+3 -1
View File
@@ -39,7 +39,9 @@ export const createSyncRouter = ({ database, websocket, connectedDevicesManager
}) => {
const router = Router()
router.post('/push-actions', json(), async (req, res, next) => {
router.post('/push-actions', json({
limit: '500kb'
}), async (req, res, next) => {
try {
if (!isClientPushChangesRequest(req.body)) {
throw new BadRequest()