mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-10 08:03:08 +02:00
typo
This commit is contained in:
parent
73c78d4c38
commit
6e40024660
1 changed files with 5 additions and 5 deletions
|
@ -36,8 +36,8 @@ export class ApiServerService {
|
||||||
|
|
||||||
private userEntityService: UserEntityService,
|
private userEntityService: UserEntityService,
|
||||||
private apiCallService: ApiCallService,
|
private apiCallService: ApiCallService,
|
||||||
private signupApiServiceService: SignupApiService,
|
private signupApiService: SignupApiService,
|
||||||
private signinApiServiceService: SigninApiService,
|
private signinApiService: SigninApiService,
|
||||||
private githubServerService: GithubServerService,
|
private githubServerService: GithubServerService,
|
||||||
private discordServerService: DiscordServerService,
|
private discordServerService: DiscordServerService,
|
||||||
private twitterServerService: TwitterServerService,
|
private twitterServerService: TwitterServerService,
|
||||||
|
@ -116,7 +116,7 @@ export class ApiServerService {
|
||||||
'g-recaptcha-response'?: string;
|
'g-recaptcha-response'?: string;
|
||||||
'turnstile-response'?: string;
|
'turnstile-response'?: string;
|
||||||
}
|
}
|
||||||
}>('/signup', (request, reply) => this.signupApiServiceService.signup(request, reply));
|
}>('/signup', (request, reply) => this.signupApiService.signup(request, reply));
|
||||||
|
|
||||||
fastify.post<{
|
fastify.post<{
|
||||||
Body: {
|
Body: {
|
||||||
|
@ -129,9 +129,9 @@ export class ApiServerService {
|
||||||
credentialId?: string;
|
credentialId?: string;
|
||||||
challengeId?: string;
|
challengeId?: string;
|
||||||
};
|
};
|
||||||
}>('/signin', (request, reply) => this.signinApiServiceService.signin(request, reply));
|
}>('/signin', (request, reply) => this.signinApiService.signin(request, reply));
|
||||||
|
|
||||||
fastify.post<{ Body: { code: string; } }>('/signup-pending', (request, reply) => this.signupApiServiceService.signupPending(request, reply));
|
fastify.post<{ Body: { code: string; } }>('/signup-pending', (request, reply) => this.signupApiService.signupPending(request, reply));
|
||||||
|
|
||||||
fastify.register(this.discordServerService.create);
|
fastify.register(this.discordServerService.create);
|
||||||
fastify.register(this.githubServerService.create);
|
fastify.register(this.githubServerService.create);
|
||||||
|
|
Loading…
Reference in a new issue