monitoring notifications

This commit is contained in:
Peter Maquiran
2024-06-20 15:40:08 +01:00
parent 2d6d5a9492
commit 9ea120bfcd
17 changed files with 279 additions and 347 deletions
@@ -50,7 +50,7 @@ export class AgendaDataRepositoryService {
try {
const result = await this.agendaDataService.getEvent(id).pipe(
map((response) => {
APINODReturn(EventOutputDTOSchema, response, 'get/Events/${id}', tracing)
APINODReturn(EventOutputDTOSchema, response, `get/Events/${id}`, tracing)
return EventMapper.toDomain(response)
})
).toPromise()
@@ -78,7 +78,7 @@ export class AgendaDataRepositoryService {
try {
const result = await this.agendaDataService.getEvent(id).pipe(
map((response) => {
APINODReturn(EventOutputDTOSchema, response, 'get/Events/${id}', tracing)
APINODReturn(EventOutputDTOSchema, response, `get/Events/${id}`, tracing)
console.log('response',response)
console.log('ToDomain',EventToApproveDetailsMapper.toDomain(response))
return EventToApproveDetailsMapper.toDomain(response)
@@ -0,0 +1,16 @@
import { TestBed } from '@angular/core/testing';
import { NotificationRepositoryService } from './notification-repository.service';
describe('NotificationRepositoryService', () => {
let service: NotificationRepositoryService;
beforeEach(() => {
TestBed.configureTestingModule({});
service = TestBed.inject(NotificationRepositoryService);
});
it('should be created', () => {
expect(service).toBeTruthy();
});
});
@@ -0,0 +1,9 @@
import { Injectable } from '@angular/core';
@Injectable({
providedIn: 'root'
})
export class NotificationRepositoryService {
constructor() { }
}