diff --git a/src/api/Server.ts b/src/api/Server.ts index f6c383986..6e4db32b7 100644 --- a/src/api/Server.ts +++ b/src/api/Server.ts @@ -46,7 +46,7 @@ export class SpacebarServer extends Server { constructor(opts?: Partial) { // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore - super({ ...opts, errorHandler: false, jsonBody: false }); + super({ ...opts, errorHandler: false }); } async start() { diff --git a/src/util/util/lambert-server/Server.ts b/src/util/util/lambert-server/Server.ts index 7ef7e6b61..bb60acb4d 100644 --- a/src/util/util/lambert-server/Server.ts +++ b/src/util/util/lambert-server/Server.ts @@ -7,7 +7,6 @@ export type ServerOptions = { host: string; production: boolean; serverInitLogging: boolean; - jsonBody: boolean; server: http.Server; app: Application; }; @@ -24,7 +23,6 @@ export class Server { if (!opts.host) opts.host = "0.0.0.0"; if (opts.production == null) opts.production = false; if (opts.serverInitLogging == null) opts.serverInitLogging = true; - if (opts.jsonBody == null) opts.jsonBody = true; if (opts.server) this.http = opts.server; this.options = opts;