Skip to content

Commit

Permalink
Use HttpClientModule
Browse files Browse the repository at this point in the history
HttpModule is deprecated
  • Loading branch information
LeoMartinDev authored Dec 2, 2017
1 parent f4bc5b2 commit 5704e2e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand All @@ -21,7 +21,7 @@ import { ElectronService } from './providers/electron.service';
imports: [
BrowserModule,
FormsModule,
HttpModule,
HttpClientModule,
AppRoutingModule
],
providers: [ElectronService],
Expand Down

0 comments on commit 5704e2e

Please sign in to comment.