[CST-5339] include OrcidAuthService in core.module

This commit is contained in:
Giuseppe Digilio
2022-06-16 19:06:30 +02:00
parent b1683e1424
commit fe85a596ff
2 changed files with 3 additions and 3 deletions

View File

@@ -177,6 +177,7 @@ import { OrcidQueueService } from './orcid/orcid-queue.service';
import { OrcidHistoryDataService } from './orcid/orcid-history-data.service'; import { OrcidHistoryDataService } from './orcid/orcid-history-data.service';
import { OrcidQueue } from './orcid/model/orcid-queue.model'; import { OrcidQueue } from './orcid/model/orcid-queue.model';
import { OrcidHistory } from './orcid/model/orcid-history.model'; import { OrcidHistory } from './orcid/model/orcid-history.model';
import { OrcidAuthService } from './orcid/orcid-auth.service';
/** /**
* When not in production, endpoint responses can be mocked for testing purposes * When not in production, endpoint responses can be mocked for testing purposes
@@ -305,6 +306,7 @@ const PROVIDERS = [
FeedbackDataService, FeedbackDataService,
ResearcherProfileService, ResearcherProfileService,
ProfileClaimService, ProfileClaimService,
OrcidAuthService,
OrcidQueueService, OrcidQueueService,
OrcidHistoryDataService, OrcidHistoryDataService,
]; ];

View File

@@ -16,9 +16,7 @@ import { ResearcherProfile } from '../profile/model/researcher-profile.model';
import { URLCombiner } from '../url-combiner/url-combiner'; import { URLCombiner } from '../url-combiner/url-combiner';
import { NativeWindowRef, NativeWindowService } from '../services/window.service'; import { NativeWindowRef, NativeWindowService } from '../services/window.service';
@Injectable({ @Injectable()
providedIn: 'root'
})
export class OrcidAuthService { export class OrcidAuthService {
constructor( constructor(