sync fixes

This commit is contained in:
azivner
2017-10-31 20:09:07 -04:00
parent 15abee3ed0
commit 0df7b0bfcf
3 changed files with 24 additions and 20 deletions

View File

@@ -17,7 +17,7 @@ router.post('/now', auth.checkApiAuth, async (req, res, next) => {
router.get('/changed', auth.checkApiAuth, async (req, res, next) => {
const lastSyncId = parseInt(req.query.lastSyncId);
const sourceId = parseInt(req.query.sourceId);
const sourceId = req.query.sourceId;
const result = await sync.getChanged(lastSyncId, sourceId);