js: Remove extra consecutive spaces.

Prettier would do this anyway, but it’s separated out for a more
reviewable diff.  Generated by ESLint.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-07-16 14:29:01 -07:00
committed by Tim Abbott
parent 883e2fd325
commit 8046b6477a
65 changed files with 129 additions and 128 deletions

View File

@@ -204,7 +204,7 @@ exports.restore_draft = function (draft_id) {
const DRAFT_LIFETIME = 30;
exports.remove_old_drafts = function () {
const old_date = new Date().setDate(new Date().getDate() - DRAFT_LIFETIME);
const old_date = new Date().setDate(new Date().getDate() - DRAFT_LIFETIME);
const drafts = draft_model.get();
for (const [id, draft] of Object.entries(drafts)) {
if (draft.updatedAt < old_date) {