Fix setGhost api usage
This commit is contained in:
@@ -247,8 +247,8 @@ async function add(email, data, auditSource) {
|
||||
|
||||
async function setGhost(user, password, expiresAt) {
|
||||
assert.strictEqual(typeof user, 'object');
|
||||
assert.strictEqual(typeof newPassword, 'string');
|
||||
assert.strictEqual(typeof auditSource, 'object');
|
||||
assert.strictEqual(typeof password, 'string');
|
||||
assert.strictEqual(typeof expiresAt, 'number');
|
||||
|
||||
expiresAt = expiresAt || DEFAULT_GHOST_LIFETIME;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user