Skip to content

Commit

Permalink
[desktop]: Fix Http Interceptor provider
Browse files Browse the repository at this point in the history
  • Loading branch information
tiagohm committed Jun 20, 2024
1 parent 2f8dab5 commit 98d2fea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions desktop/src/app/app.module.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { DragDropModule } from '@angular/cdk/drag-drop'
import { CommonModule } from '@angular/common'
import { HTTP_INTERCEPTORS, provideHttpClient } from '@angular/common/http'
import { HTTP_INTERCEPTORS, provideHttpClient, withInterceptorsFromDi } from '@angular/common/http'
import { LOCALE_ID, NgModule } from '@angular/core'
import { FormsModule } from '@angular/forms'
import { BrowserModule } from '@angular/platform-browser'
Expand Down Expand Up @@ -193,7 +193,7 @@ import { SettingsComponent } from './settings/settings.component'
ExposureTimePipe,
MessageService,
SkyObjectPipe,
provideHttpClient(),
provideHttpClient(withInterceptorsFromDi()),
WinPipe,
{
provide: LOCALE_ID,
Expand Down

0 comments on commit 98d2fea

Please sign in to comment.