From 05d93aab8ffd90e134d09b507f56d91d9fc191fd Mon Sep 17 00:00:00 2001 From: Gregory Schier Date: Mon, 18 Jun 2018 17:15:15 -0400 Subject: [PATCH] Fix lint errors --- packages/insomnia-app/app/common/database.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/insomnia-app/app/common/database.js b/packages/insomnia-app/app/common/database.js index 7d3283d0cc..3fc0f45b49 100644 --- a/packages/insomnia-app/app/common/database.js +++ b/packages/insomnia-app/app/common/database.js @@ -6,7 +6,6 @@ import NeDB from 'nedb'; import fsPath from 'path'; import {DB_PERSIST_INTERVAL} from './constants'; import uuid from 'uuid'; -import {DELETE_REQUEST} from './hotkeys'; export const CHANGE_INSERT = 'insert'; export const CHANGE_UPDATE = 'update'; @@ -96,7 +95,7 @@ export async function init ( // This isn't the best place for this but w/e // Listen for response deletions and delete corresponding response body files onChange(async changes => { - for (const [type, doc, fromSync] of changes) { + for (const [type, doc] of changes) { const m: Object | null = models.getModel(doc.type); if (!m) {