mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-09 19:53:08 +02:00
chore: fix reporisotry name
This commit is contained in:
parent
ef87a9db7b
commit
b11f8b0aae
3 changed files with 5 additions and 5 deletions
|
@ -171,7 +171,7 @@ export type PollsRepository = Repository<Poll>;
|
|||
export type PollVotesRepository = Repository<PollVote>;
|
||||
export type PromoNotesRepository = Repository<PromoNote>;
|
||||
export type PromoReadsRepository = Repository<PromoRead>;
|
||||
export type RegistrationTicketRepository = Repository<RegistrationTicket>;
|
||||
export type RegistrationTicketsRepository = Repository<RegistrationTicket>;
|
||||
export type RegistryItemsRepository = Repository<RegistryItem>;
|
||||
export type RelaysRepository = Repository<Relay>;
|
||||
export type SigninsRepository = Repository<Signin>;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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<typeof meta, typeof paramDef> {
|
||||
constructor(
|
||||
@Inject(DI.registrationTicketsRepository)
|
||||
private registrationTicketsRepository: RegistrationTicketRepository,
|
||||
private registrationTicketsRepository: RegistrationTicketsRepository,
|
||||
|
||||
private idService: IdService,
|
||||
) {
|
||||
|
|
Loading…
Reference in a new issue