style: fix linting errors
This commit is contained in:
parent
0e28f77a1f
commit
592f0540f9
4 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,4 @@
|
|||
let { Buffer } = require('buffer');
|
||||
let fs = require('fs/promises');
|
||||
let { join } = require('path');
|
||||
let express = require('express');
|
||||
let uuid = require('uuid');
|
||||
|
@ -9,7 +8,6 @@ let errorMiddleware = require('./util/error-middleware');
|
|||
let config = require('./load-config');
|
||||
let { getAccountDb } = require('./account-db');
|
||||
|
||||
let simpleSync = require('./sync-simple');
|
||||
let fullSync = require('./sync-full');
|
||||
|
||||
let actual = require('@actual-app/api');
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
export default async function runMigration(db, uuid) {
|
||||
export default async function runMigration(db) {
|
||||
function getValue(node) {
|
||||
return node.expr != null ? node.expr : node.cachedValue;
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
async function middleware(err, req, res, next) {
|
||||
async function middleware(err, req, res) {
|
||||
console.log('ERROR', err);
|
||||
res.status(500).send({ status: 'error', reason: 'internal-error' });
|
||||
}
|
||||
|
|
|
@ -6,6 +6,6 @@ function handleError(func) {
|
|||
res.send({ status: 'error', reason: 'internal-error' });
|
||||
});
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = { handleError }
|
||||
|
|
Loading…
Reference in a new issue