src/app/modules/public/module/help/services/faq/faq.service.ts
Methods |
|
constructor(learnerService: LearnerService, config: ConfigService)
|
|||||||||
Parameters :
|
Public getFaqJSON |
getFaqJSON()
|
Returns :
any
|
import { Injectable } from '@angular/core';
import { LearnerService } from '@sunbird/core';
import { ConfigService } from '@sunbird/shared';
@Injectable({
providedIn: 'root'
})
export class FaqService {
constructor(private learnerService: LearnerService, private config: ConfigService) { }
public getFaqJSON() {
const systemSetting = {
url: this.config.urlConFig.URLS.SYSTEM_SETTING.FAQ_URL,
};
return this.learnerService.get(systemSetting);
}
}