mirror of
https://codeberg.org/timelimit/timelimit-server.git
synced 2026-08-31 19:03:45 +02:00
Get update app activities working
This commit is contained in:
+3
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user