From 12154c869f1a2c925070fe842f84ea38f72cc5f9 Mon Sep 17 00:00:00 2001 From: injuly <50487716+srijan-paul@users.noreply.github.com> Date: Fri, 6 Sep 2024 18:10:17 +0530 Subject: [PATCH] fix: small typo (`fasitfy` -> `fastify` --- backend/src/server/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/server/app.ts b/backend/src/server/app.ts index 1ab8bc3fdc..726f8431ce 100644 --- a/backend/src/server/app.ts +++ b/backend/src/server/app.ts @@ -10,7 +10,7 @@ import fastifyFormBody from "@fastify/formbody"; import helmet from "@fastify/helmet"; import type { FastifyRateLimitOptions } from "@fastify/rate-limit"; import ratelimiter from "@fastify/rate-limit"; -import fasitfy from "fastify"; +import fastify from "fastify"; import { Knex } from "knex"; import { Logger } from "pino"; @@ -39,7 +39,7 @@ type TMain = { // Run the server! export const main = async ({ db, smtp, logger, queue, keyStore }: TMain) => { const appCfg = getConfig(); - const server = fasitfy({ + const server = fastify({ logger: appCfg.NODE_ENV === "test" ? false : logger, trustProxy: true, connectionTimeout: 30 * 1000,