chore: fix reporisotry name
This commit is contained in:
parent
c7f4fd1215
commit
b648c4bc4d
5 changed files with 7 additions and 7 deletions
|
@ -40,7 +40,7 @@ import { Poll } from '@/models/entities/Poll.js';
|
||||||
import { PollVote } from '@/models/entities/PollVote.js';
|
import { PollVote } from '@/models/entities/PollVote.js';
|
||||||
import { PromoNote } from '@/models/entities/PromoNote.js';
|
import { PromoNote } from '@/models/entities/PromoNote.js';
|
||||||
import { PromoRead } from '@/models/entities/PromoRead.js';
|
import { PromoRead } from '@/models/entities/PromoRead.js';
|
||||||
import { RegistrationTicket } from '@/models/entities/RegistrationTickets.js';
|
import { RegistrationTicket } from '@/models/entities/RegistrationTicket.js';
|
||||||
import { RegistryItem } from '@/models/entities/RegistryItem.js';
|
import { RegistryItem } from '@/models/entities/RegistryItem.js';
|
||||||
import { Relay } from '@/models/entities/Relay.js';
|
import { Relay } from '@/models/entities/Relay.js';
|
||||||
import { Signin } from '@/models/entities/Signin.js';
|
import { Signin } from '@/models/entities/Signin.js';
|
||||||
|
@ -171,7 +171,7 @@ export type PollsRepository = Repository<Poll>;
|
||||||
export type PollVotesRepository = Repository<PollVote>;
|
export type PollVotesRepository = Repository<PollVote>;
|
||||||
export type PromoNotesRepository = Repository<PromoNote>;
|
export type PromoNotesRepository = Repository<PromoNote>;
|
||||||
export type PromoReadsRepository = Repository<PromoRead>;
|
export type PromoReadsRepository = Repository<PromoRead>;
|
||||||
export type RegistrationTicketsRepository = Repository<RegistrationTicket>;
|
export type RegistrationTicketRepository = Repository<RegistrationTicket>;
|
||||||
export type RegistryItemsRepository = Repository<RegistryItem>;
|
export type RegistryItemsRepository = Repository<RegistryItem>;
|
||||||
export type RelaysRepository = Repository<Relay>;
|
export type RelaysRepository = Repository<Relay>;
|
||||||
export type SigninsRepository = Repository<Signin>;
|
export type SigninsRepository = Repository<Signin>;
|
||||||
|
|
|
@ -48,7 +48,7 @@ import { Poll } from '@/models/entities/Poll.js';
|
||||||
import { PollVote } from '@/models/entities/PollVote.js';
|
import { PollVote } from '@/models/entities/PollVote.js';
|
||||||
import { PromoNote } from '@/models/entities/PromoNote.js';
|
import { PromoNote } from '@/models/entities/PromoNote.js';
|
||||||
import { PromoRead } from '@/models/entities/PromoRead.js';
|
import { PromoRead } from '@/models/entities/PromoRead.js';
|
||||||
import { RegistrationTicket } from '@/models/entities/RegistrationTickets.js';
|
import { RegistrationTicket } from '@/models/entities/RegistrationTicket.js';
|
||||||
import { RegistryItem } from '@/models/entities/RegistryItem.js';
|
import { RegistryItem } from '@/models/entities/RegistryItem.js';
|
||||||
import { Relay } from '@/models/entities/Relay.js';
|
import { Relay } from '@/models/entities/Relay.js';
|
||||||
import { Signin } from '@/models/entities/Signin.js';
|
import { Signin } from '@/models/entities/Signin.js';
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { Inject, Injectable } from '@nestjs/common';
|
||||||
import rndstr from 'rndstr';
|
import rndstr from 'rndstr';
|
||||||
import bcrypt from 'bcryptjs';
|
import bcrypt from 'bcryptjs';
|
||||||
import { DI } from '@/di-symbols.js';
|
import { DI } from '@/di-symbols.js';
|
||||||
import type { RegistrationTicketsRepository, UserPendingsRepository, UserProfilesRepository, UsersRepository } from '@/models/index.js';
|
import type { RegistrationTicketRepository, UserPendingsRepository, UserProfilesRepository, UsersRepository } from '@/models/index.js';
|
||||||
import type { Config } from '@/config.js';
|
import type { Config } from '@/config.js';
|
||||||
import { MetaService } from '@/core/MetaService.js';
|
import { MetaService } from '@/core/MetaService.js';
|
||||||
import { CaptchaService } from '@/core/CaptchaService.js';
|
import { CaptchaService } from '@/core/CaptchaService.js';
|
||||||
|
@ -32,7 +32,7 @@ export class SignupApiService {
|
||||||
private userPendingsRepository: UserPendingsRepository,
|
private userPendingsRepository: UserPendingsRepository,
|
||||||
|
|
||||||
@Inject(DI.registrationTicketsRepository)
|
@Inject(DI.registrationTicketsRepository)
|
||||||
private registrationTicketsRepository: RegistrationTicketsRepository,
|
private registrationTicketsRepository: RegistrationTicketRepository,
|
||||||
|
|
||||||
private userEntityService: UserEntityService,
|
private userEntityService: UserEntityService,
|
||||||
private idService: IdService,
|
private idService: IdService,
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import rndstr from 'rndstr';
|
import rndstr from 'rndstr';
|
||||||
import { Inject, Injectable } from '@nestjs/common';
|
import { Inject, Injectable } from '@nestjs/common';
|
||||||
import { Endpoint } from '@/server/api/endpoint-base.js';
|
import { Endpoint } from '@/server/api/endpoint-base.js';
|
||||||
import type { RegistrationTicketsRepository } from '@/models/index.js';
|
import type { RegistrationTicketRepository } from '@/models/index.js';
|
||||||
import { IdService } from '@/core/IdService.js';
|
import { IdService } from '@/core/IdService.js';
|
||||||
import { DI } from '@/di-symbols.js';
|
import { DI } from '@/di-symbols.js';
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ export const paramDef = {
|
||||||
export default class extends Endpoint<typeof meta, typeof paramDef> {
|
export default class extends Endpoint<typeof meta, typeof paramDef> {
|
||||||
constructor(
|
constructor(
|
||||||
@Inject(DI.registrationTicketsRepository)
|
@Inject(DI.registrationTicketsRepository)
|
||||||
private registrationTicketsRepository: RegistrationTicketsRepository,
|
private registrationTicketsRepository: RegistrationTicketRepository,
|
||||||
|
|
||||||
private idService: IdService,
|
private idService: IdService,
|
||||||
) {
|
) {
|
||||||
|
|
Loading…
Reference in a new issue