[frontend] Import HTTPClientModule

This commit is contained in:
Cathy Hu 2020-08-17 16:07:10 +02:00
parent c24ea9e091
commit c928532c44

View file

@ -11,7 +11,7 @@ import { DashboardModule } from './dashboard/dashboard.module';
import { HoodpageComponent } from './hoodpage/hoodpage.component'; import { HoodpageComponent } from './hoodpage/hoodpage.component';
import { HoodspageComponent } from './hoodspage/hoodspage.component'; import { HoodspageComponent } from './hoodspage/hoodspage.component';
import { ApiModule } from './api/api.module'; import { ApiModule } from './api/api.module';
import { HttpClientModule } from '@angular/common/http';
@NgModule({ @NgModule({
declarations: [ declarations: [
@ -28,6 +28,7 @@ import { ApiModule } from './api/api.module';
AuthModule, AuthModule,
DashboardModule, DashboardModule,
ApiModule, ApiModule,
HttpClientModule,
], ],
providers: [], providers: [],
bootstrap: [AppComponent], bootstrap: [AppComponent],