pass data argument to restore

This commit is contained in:
Girish Ramakrishnan
2016-06-13 10:08:58 -07:00
parent ed4674cd14
commit b82610ba00
2 changed files with 6 additions and 2 deletions

View File

@@ -661,8 +661,9 @@ function getLogs(appId, lines, follow, callback) {
});
}
function restore(appId, auditSource, callback) {
function restore(appId, data, auditSource, callback) {
assert.strictEqual(typeof appId, 'string');
assert.strictEqual(typeof data, 'object');
assert.strictEqual(typeof auditSource, 'object');
assert.strictEqual(typeof callback, 'function');