diff --git a/packages/backend/src/models/index.ts b/packages/backend/src/models/index.ts index c6b4fe11e..7fde3fbed 100644 --- a/packages/backend/src/models/index.ts +++ b/packages/backend/src/models/index.ts @@ -171,7 +171,7 @@ export type PollsRepository = Repository; export type PollVotesRepository = Repository; export type PromoNotesRepository = Repository; export type PromoReadsRepository = Repository; -export type RegistrationTicketRepository = Repository; +export type RegistrationTicketsRepository = Repository; export type RegistryItemsRepository = Repository; export type RelaysRepository = Repository; export type SigninsRepository = Repository; diff --git a/packages/backend/src/server/api/SignupApiService.ts b/packages/backend/src/server/api/SignupApiService.ts index d5acc1a0a..bba81250a 100644 --- a/packages/backend/src/server/api/SignupApiService.ts +++ b/packages/backend/src/server/api/SignupApiService.ts @@ -2,7 +2,7 @@ import { Inject, Injectable } from '@nestjs/common'; import rndstr from 'rndstr'; import bcrypt from 'bcryptjs'; import { DI } from '@/di-symbols.js'; -import type { RegistrationTicketRepository, UserPendingsRepository, UserProfilesRepository, UsersRepository } from '@/models/index.js'; +import type { RegistrationTicketsRepository, UserPendingsRepository, UserProfilesRepository, UsersRepository } from '@/models/index.js'; import type { Config } from '@/config.js'; import { MetaService } from '@/core/MetaService.js'; import { CaptchaService } from '@/core/CaptchaService.js'; @@ -32,7 +32,7 @@ export class SignupApiService { private userPendingsRepository: UserPendingsRepository, @Inject(DI.registrationTicketsRepository) - private registrationTicketsRepository: RegistrationTicketRepository, + private registrationTicketsRepository: RegistrationTicketsRepository, private userEntityService: UserEntityService, private idService: IdService, diff --git a/packages/backend/src/server/api/endpoints/admin/invite.ts b/packages/backend/src/server/api/endpoints/admin/invite.ts index b0450c9ba..bc42bf792 100644 --- a/packages/backend/src/server/api/endpoints/admin/invite.ts +++ b/packages/backend/src/server/api/endpoints/admin/invite.ts @@ -1,7 +1,7 @@ import rndstr from 'rndstr'; import { Inject, Injectable } from '@nestjs/common'; import { Endpoint } from '@/server/api/endpoint-base.js'; -import type { RegistrationTicketRepository } from '@/models/index.js'; +import type { RegistrationTicketsRepository } from '@/models/index.js'; import { IdService } from '@/core/IdService.js'; import { DI } from '@/di-symbols.js'; @@ -37,7 +37,7 @@ export const paramDef = { export default class extends Endpoint { constructor( @Inject(DI.registrationTicketsRepository) - private registrationTicketsRepository: RegistrationTicketRepository, + private registrationTicketsRepository: RegistrationTicketsRepository, private idService: IdService, ) {