1
0
Fork 0
mirror of https://github.com/overleaf/overleaf.git synced 2025-03-02 08:34:14 +00:00

restrict syncType values to full/incremental

This commit is contained in:
Brian Gough 2017-08-07 10:19:56 +01:00
parent 44ae011703
commit fe5ba5b619

View file

@ -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,