From 5704e2e10b5338acc9f59439874006321622de49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Martin?= Date: Sun, 3 Dec 2017 00:11:47 +0100 Subject: [PATCH] Use HttpClientModule HttpModule is deprecated --- src/app/app.module.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/app.module.ts b/src/app/app.module.ts index ad62cb01a..f8e6bb406 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -4,7 +4,7 @@ import 'polyfills'; import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { FormsModule } from '@angular/forms'; -import { HttpModule } from '@angular/http'; +import { HttpClientModule } from '@angular/common/http'; import { AppComponent } from './app.component'; import { HomeComponent } from './components/home/home.component'; @@ -21,7 +21,7 @@ import { ElectronService } from './providers/electron.service'; imports: [ BrowserModule, FormsModule, - HttpModule, + HttpClientModule, AppRoutingModule ], providers: [ElectronService],