Zomars/fixes trpc typo (#957)

This commit is contained in:
Omar López authored and GitHub committed 2021-10-14 19:22:01 +00:00
1 parent 2ce2bb1ca8
commit c2c37b701e
11 files changed
+25 -20

No files matched your search

+2 -1
View File
@@ -1,10 +1,11 @@
import { Maybe } from "@trpc/server";
import parser from "accept-language-parser";
import { IncomingMessage } from "http";
import { getSession } from "@lib/auth";
import prisma from "@lib/prisma";
import { Maybe } from "@trpc/server";
import { i18n } from "../../../next-i18next.config";
export function getLocaleFromHeaders(req: IncomingMessage): string {