From b4be40d0619823c455955a25f5eb581e16f3df7a Mon Sep 17 00:00:00 2001 From: Brian Gough Date: Mon, 7 Aug 2017 10:19:56 +0100 Subject: [PATCH] restrict syncType values to full/incremental --- app/coffee/RequestParser.coffee | 1 + 1 file changed, 1 insertion(+) diff --git a/app/coffee/RequestParser.coffee b/app/coffee/RequestParser.coffee index d2e67bc..8b8de76 100644 --- a/app/coffee/RequestParser.coffee +++ b/app/coffee/RequestParser.coffee @@ -33,6 +33,7 @@ module.exports = RequestParser = type: "string" response.syncType = @_parseAttribute "syncType", compile.options.syncType, + validValues: ["full", "incremental"] type: "string" response.syncState = @_parseAttribute "syncState", compile.options.syncState,