Fix build

This commit is contained in:
Nathan Bierema 2022-05-07 17:35:48 -04:00
parent 21c07c1a17
commit 864ee56b8a

View File

@ -1,5 +1,6 @@
import path from 'path'; import path from 'path';
import express from 'express'; import express from 'express';
import type { Router } from 'express';
import morgan from 'morgan'; import morgan from 'morgan';
import * as http from 'http'; import * as http from 'http';
import bodyParser from 'body-parser'; import bodyParser from 'body-parser';
@ -23,7 +24,7 @@ function routes(
options: SCServer.SCServerOptions, options: SCServer.SCServerOptions,
store: Store, store: Store,
scServer: SCServer scServer: SCServer
) { ): Router {
const limit = options.maxRequestBody; const limit = options.maxRequestBody;
const logHTTPRequests = options.logHTTPRequests; const logHTTPRequests = options.logHTTPRequests;