diff --git a/packages/api/src/server.ts b/packages/api/src/server.ts index db93b80be..980c5b652 100644 --- a/packages/api/src/server.ts +++ b/packages/api/src/server.ts @@ -14,7 +14,7 @@ const rootDir = __dirname; port: process.env.PORT_API ? parseInt(process.env.PORT_API) : 8080, logger: { debug: true, - level: process.env.NODE_ENV === "production" ? "off" : undefined, + level: process.env.NODE_ENV === "production" ? "off" : "error", }, mount: { "/v1": [`${rootDir}/controllers/**/*.ts`], diff --git a/packages/client/src/components/dispatch/modals/CallTowModal.tsx b/packages/client/src/components/dispatch/modals/CallTowModal.tsx index 5f1a957a6..23caa2940 100644 --- a/packages/client/src/components/dispatch/modals/CallTowModal.tsx +++ b/packages/client/src/components/dispatch/modals/CallTowModal.tsx @@ -59,7 +59,7 @@ export function DispatchCallTowModal({ call }: Props) { const INITIAL_VALUES = { location: call?.location ?? "", postal: call?.postal ?? "", - // @ts-expect-error ignore + // @ts-expect-error TS should allow this tbh! creatorId: unit?.citizenId ?? null, description: call?.description ?? "", callCountyService: false, @@ -71,7 +71,7 @@ export function DispatchCallTowModal({ call }: Props) { return ( closeModal(ModalIds.ManageTowCall)} - title={t("createTowCall")} + title={t("Calls.createTowCall")} isOpen={isOpen(ModalIds.ManageTowCall)} className="w-[700px]" > @@ -98,7 +98,7 @@ export function DispatchCallTowModal({ call }: Props) { - +