fix: typos in several package/ directories (#19495)

* fix: typos in packages/embeds
Found via codespell

* fix: typos in packages/lib
Found via codespell

* fix: typos in packages/trpc
Found via codespell
This commit is contained in:
luzpaz authored and GitHub committed 2025-02-24 14:44:08 +00:00
1 parent 16a94fe712
commit 97ef32f7ca
27 files changed
+33 -33

No files matched your search

+1 -1
View File
@@ -3,7 +3,7 @@ import { HttpError } from "../http-error";
const TURNSTILE_SECRET_ID = process.env.CLOUDFLARE_TURNSTILE_SECRET;
export async function checkCfTurnstileToken({ token, remoteIp }: { token?: string; remoteIp: string }) {
// This means the instance doesnt have turnstile enabled - we skip the check and just return success.
// This means the instance doesn't have turnstile enabled - we skip the check and just return success.
// OR the instance is running in CI so we skip these checks also
if (!TURNSTILE_SECRET_ID || !!process.env.NEXT_PUBLIC_IS_E2E) {
return {
+2 -2
View File
@@ -686,13 +686,13 @@ describe("maximize availability and weights", () => {
userId: 1,
createdAt: dayjs().startOf("month").add(10, "day").toDate(),
}),
// happend during OOO
// happened during OOO
buildBooking({
id: 2,
userId: 2,
createdAt: dayjs().startOf("month").add(5, "hour").toDate(),
}),
// happend during OOO
// happened during OOO
buildBooking({
id: 3,
userId: 2,
+1 -1
View File
@@ -47,7 +47,7 @@ type GetTeamOrOrgArg<TeamSelect extends Prisma.TeamSelect> = {
const log = logger.getSubLogger({ prefix: ["repository", "team"] });
/**
* Get's the team or organization with the given slug or id reliably along with parsed metadata.
* Gets the team or organization with the given slug or id reliably along with parsed metadata.
*/
async function getTeamOrOrg<TeamSelect extends Prisma.TeamSelect>({
lookupBy,