mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 21:35:50 +00:00
add contacts
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Injectable } from '@angular/core';
|
||||
import { ToastService } from 'src/app/services/toast.service';
|
||||
import { BackgroundService } from 'src/app/services/background.service';
|
||||
|
||||
import { HttpErrorResponse } from '@angular/common/http';
|
||||
@Injectable({
|
||||
providedIn: 'root'
|
||||
})
|
||||
@@ -12,7 +12,7 @@ export class HttpErrorHandle {
|
||||
private backgroundService: BackgroundService
|
||||
) { }
|
||||
|
||||
async httpStatusHandle(error) {
|
||||
async httpStatusHandle(error: any) {
|
||||
switch (error.status
|
||||
) {
|
||||
case 0:
|
||||
|
||||
Reference in New Issue
Block a user