REFACTOR: inputs inside its own module

This commit is contained in:
Gabriel Rosa
2022-08-11 14:28:10 -03:00
parent 430e09c159
commit 117704cd8c
20 changed files with 119 additions and 225 deletions
+1 -3
View File
@@ -8,10 +8,8 @@ import { Request } from 'express';
@ApiTags('oauth')
@Controller('oauth')
export class OauthController {
inputService: InputsService;
frontendRedirectUri = '';
constructor(private inputsClientService: InputsClientService) {
this.inputService = new InputsService(this.inputsClientService);
constructor(private inputService: InputsService) {
switch (process.env.ENV) {
case 'dev':
case 'stg':