mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
improve
This commit is contained in:
@@ -175,6 +175,10 @@ export class AuthService {
|
||||
|
||||
SessionStore.user.RochetChatUserId = message.result.id
|
||||
SessionStore.save()
|
||||
|
||||
// console.log('user session', SessionStore.user)
|
||||
|
||||
|
||||
this.WsChatService.setStatus('online')
|
||||
|
||||
}).catch((message) => {
|
||||
|
||||
@@ -486,7 +486,7 @@ export class EventsService {
|
||||
|
||||
return this.http.get<Event>(`${geturl}`, options);
|
||||
} else {
|
||||
alert('headr not found'+ calendarId)
|
||||
|
||||
}
|
||||
|
||||
throw('error')
|
||||
@@ -814,6 +814,13 @@ export class EventsService {
|
||||
})
|
||||
|
||||
if (header) {
|
||||
|
||||
|
||||
options = {
|
||||
headers: header,
|
||||
params: params
|
||||
};
|
||||
|
||||
return this.http.delete(`${puturl}`, options).pipe(
|
||||
catchError(err => {
|
||||
console.log('Event edit saved offline')
|
||||
@@ -821,6 +828,8 @@ export class EventsService {
|
||||
throw new Error(err);
|
||||
})
|
||||
)
|
||||
} else {
|
||||
|
||||
}
|
||||
|
||||
throw('header not found')
|
||||
|
||||
Reference in New Issue
Block a user