Browse Source

Sort imports (#2266)

pull/2271/head
Thomas Kaul 1 year ago
committed by GitHub
parent
commit
f2d70f9070
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      apps/api/src/app/exchange-rate/exchange-rate.controller.ts
  2. 2
      apps/api/src/app/symbol/symbol.controller.ts
  3. 5
      apps/client/src/app/pages/about/about-page-routing.module.ts

2
apps/api/src/app/exchange-rate/exchange-rate.controller.ts

@ -7,10 +7,10 @@ import {
UseGuards UseGuards
} from '@nestjs/common'; } from '@nestjs/common';
import { AuthGuard } from '@nestjs/passport'; import { AuthGuard } from '@nestjs/passport';
import { parseISO } from 'date-fns';
import { StatusCodes, getReasonPhrase } from 'http-status-codes'; import { StatusCodes, getReasonPhrase } from 'http-status-codes';
import { ExchangeRateService } from './exchange-rate.service'; import { ExchangeRateService } from './exchange-rate.service';
import { parseISO } from 'date-fns';
@Controller('exchange-rate') @Controller('exchange-rate')
export class ExchangeRateController { export class ExchangeRateController {

2
apps/api/src/app/symbol/symbol.controller.ts

@ -15,13 +15,13 @@ import {
import { REQUEST } from '@nestjs/core'; import { REQUEST } from '@nestjs/core';
import { AuthGuard } from '@nestjs/passport'; import { AuthGuard } from '@nestjs/passport';
import { DataSource } from '@prisma/client'; import { DataSource } from '@prisma/client';
import { parseISO } from 'date-fns';
import { StatusCodes, getReasonPhrase } from 'http-status-codes'; import { StatusCodes, getReasonPhrase } from 'http-status-codes';
import { isDate, isEmpty } from 'lodash'; import { isDate, isEmpty } from 'lodash';
import { LookupItem } from './interfaces/lookup-item.interface'; import { LookupItem } from './interfaces/lookup-item.interface';
import { SymbolItem } from './interfaces/symbol-item.interface'; import { SymbolItem } from './interfaces/symbol-item.interface';
import { SymbolService } from './symbol.service'; import { SymbolService } from './symbol.service';
import { parseISO } from 'date-fns';
@Controller('symbol') @Controller('symbol')
export class SymbolController { export class SymbolController {

5
apps/client/src/app/pages/about/about-page-routing.module.ts

@ -1,10 +1,11 @@
import * as path from 'path';
import { NgModule } from '@angular/core'; import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { paths } from '@ghostfolio/client/app-routing.module';
import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; import { AuthGuard } from '@ghostfolio/client/core/auth.guard';
import { AboutPageComponent } from './about-page.component'; import { AboutPageComponent } from './about-page.component';
import { paths } from '@ghostfolio/client/app-routing.module';
import * as path from 'path';
const routes: Routes = [ const routes: Routes = [
{ {

Loading…
Cancel
Save