From f2d70f90708adc8510552a87271eb266f5e9c3c6 Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sat, 26 Aug 2023 11:22:19 +0200 Subject: [PATCH] Sort imports (#2266) --- apps/api/src/app/exchange-rate/exchange-rate.controller.ts | 2 +- apps/api/src/app/symbol/symbol.controller.ts | 2 +- apps/client/src/app/pages/about/about-page-routing.module.ts | 5 +++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/api/src/app/exchange-rate/exchange-rate.controller.ts b/apps/api/src/app/exchange-rate/exchange-rate.controller.ts index 40ff9d3c8..8e01c4ca9 100644 --- a/apps/api/src/app/exchange-rate/exchange-rate.controller.ts +++ b/apps/api/src/app/exchange-rate/exchange-rate.controller.ts @@ -7,10 +7,10 @@ import { UseGuards } from '@nestjs/common'; import { AuthGuard } from '@nestjs/passport'; +import { parseISO } from 'date-fns'; import { StatusCodes, getReasonPhrase } from 'http-status-codes'; import { ExchangeRateService } from './exchange-rate.service'; -import { parseISO } from 'date-fns'; @Controller('exchange-rate') export class ExchangeRateController { diff --git a/apps/api/src/app/symbol/symbol.controller.ts b/apps/api/src/app/symbol/symbol.controller.ts index e09b08f5b..ad9042991 100644 --- a/apps/api/src/app/symbol/symbol.controller.ts +++ b/apps/api/src/app/symbol/symbol.controller.ts @@ -15,13 +15,13 @@ import { import { REQUEST } from '@nestjs/core'; import { AuthGuard } from '@nestjs/passport'; import { DataSource } from '@prisma/client'; +import { parseISO } from 'date-fns'; import { StatusCodes, getReasonPhrase } from 'http-status-codes'; import { isDate, isEmpty } from 'lodash'; import { LookupItem } from './interfaces/lookup-item.interface'; import { SymbolItem } from './interfaces/symbol-item.interface'; import { SymbolService } from './symbol.service'; -import { parseISO } from 'date-fns'; @Controller('symbol') export class SymbolController { diff --git a/apps/client/src/app/pages/about/about-page-routing.module.ts b/apps/client/src/app/pages/about/about-page-routing.module.ts index 88c8080ed..ac586e069 100644 --- a/apps/client/src/app/pages/about/about-page-routing.module.ts +++ b/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 { RouterModule, Routes } from '@angular/router'; +import { paths } from '@ghostfolio/client/app-routing.module'; import { AuthGuard } from '@ghostfolio/client/core/auth.guard'; import { AboutPageComponent } from './about-page.component'; -import { paths } from '@ghostfolio/client/app-routing.module'; -import * as path from 'path'; const routes: Routes = [ {