Remove relevant console log,

This commit is contained in:
Eudes Inácio
2022-04-28 09:32:27 +01:00
parent 3021e8b0e1
commit 2826cea9df
153 changed files with 1001 additions and 1132 deletions
+9 -9
View File
@@ -407,7 +407,7 @@ export class EventsService {
headers: this.headersSharedOficial,
params: params
};
console.log(options);
return this.http.get<Event[]>(`${geturl}`, options);
}
@@ -581,7 +581,7 @@ export class EventsService {
return this.http.put<Event>(`${puturl}`, event, options).pipe(
catchError(err => {
console.log('Event edit saved offline')
this.offlinemanager.storeRequestData('eventEdit', arrayReq);
throw new Error(err);
})
@@ -606,7 +606,7 @@ export class EventsService {
let options: any;
switch (calendarName) {
case 'Oficial':
console.log(calendarName);
options = {
headers: this.headersMdOficial,
params: params
@@ -614,14 +614,14 @@ export class EventsService {
break;
case 'Pessoal':
console.log(calendarName);
options = {
headers: this.headersMdPessoal,
params: params
};
break;
}
console.log(options);
return this.http.post<string>(`${puturl}`, event, options)
}
@@ -634,7 +634,7 @@ export class EventsService {
let options: any;
switch (calendarName) {
case 'Oficial':
console.log(calendarName);
options = {
headers: this.headersPrOficial,
params: params
@@ -642,7 +642,7 @@ export class EventsService {
break;
case 'Pessoal':
console.log(calendarName);
options = {
headers: this.headersPrPessoal,
params: params
@@ -755,7 +755,7 @@ export class EventsService {
return this.http.delete(`${puturl}`, options).pipe(
catchError(err => {
console.log('Event edit saved offline')
this.offlinemanager.storeRequestData('eventDelete', arrayReq);
throw new Error(err);
})
@@ -830,7 +830,7 @@ export class EventsService {
return this.http.delete(`${puturl}`, options).pipe(
catchError(err => {
console.log('Event edit saved offline')
this.offlinemanager.storeRequestData('eventDelete', arrayReq);
throw new Error(err);
})