fix(tasks): parameters

This commit is contained in:
Guillaume Chau
2018-07-20 08:52:34 +02:00
parent d24c7bb10a
commit 3936dfc77a

View File

@@ -137,7 +137,7 @@ function getSavedData (id, context) {
id
}).value()
// Clone
data = JSON.parse(JSON.stringify(data))
if (data != null) data = JSON.parse(JSON.stringify(data))
return data
}
@@ -149,7 +149,7 @@ function updateSavedData (data, context) {
}
}
async function getPrompts (id, context) {
function getPrompts (id, context) {
return restoreParameters({ id }, context)
}