From 7a4fd56ccd86518a6b14c407fc977c7904337448 Mon Sep 17 00:00:00 2001 From: luz paz Date: Tue, 7 Jun 2022 09:45:06 -0400 Subject: Fix various typos Found via `codespell -q 3 -S ./CREDITS.md,./CHANGELOG.md,./client/src/locale,./yarn.lock,./client/yarn.lock -L doubleclick,followings,nd,ot,ro,serie,splitted,tread,truthy` --- server/models/abuse/abuse-query-builder.ts | 2 +- server/models/shared/abstract-run-query.ts | 2 +- server/models/utils.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'server/models') diff --git a/server/models/abuse/abuse-query-builder.ts b/server/models/abuse/abuse-query-builder.ts index 025e6ba55..cfc924ba4 100644 --- a/server/models/abuse/abuse-query-builder.ts +++ b/server/models/abuse/abuse-query-builder.ts @@ -13,7 +13,7 @@ export type BuildAbusesQueryOptions = { searchReporter?: string searchReportee?: string - // video releated + // video related searchVideo?: string searchVideoChannel?: string videoIs?: AbuseVideoIs diff --git a/server/models/shared/abstract-run-query.ts b/server/models/shared/abstract-run-query.ts index f1182c7be..7f27a0c4b 100644 --- a/server/models/shared/abstract-run-query.ts +++ b/server/models/shared/abstract-run-query.ts @@ -2,7 +2,7 @@ import { QueryTypes, Sequelize, Transaction } from 'sequelize' /** * - * Abstact builder to run video SQL queries + * Abstract builder to run video SQL queries * */ diff --git a/server/models/utils.ts b/server/models/utils.ts index 88e31f22e..c468f748d 100644 --- a/server/models/utils.ts +++ b/server/models/utils.ts @@ -119,7 +119,7 @@ function getInstanceFollowsSort (value: string, lastSort: OrderItem = [ 'id', 'A function isOutdated (model: { createdAt: Date, updatedAt: Date }, refreshInterval: number) { if (!model.createdAt || !model.updatedAt) { - throw new Error('Miss createdAt & updatedAt attribuets to model') + throw new Error('Miss createdAt & updatedAt attributes to model') } const now = Date.now() -- cgit v1.2.3