diff --git a/src/app/services/config.service.ts b/src/app/services/config.service.ts index ede8000..678f4ba 100644 --- a/src/app/services/config.service.ts +++ b/src/app/services/config.service.ts @@ -30,14 +30,16 @@ export class ConfigService { } async getAllContent(req: any, lang: any): Promise { - console.log('req ', req); + let request = { + language: lang + } const apiRequest = new ApiRequest.Builder() .withHost(config.api.BASE_URL) .withPath(config.api.PAGE_SEARCH_API) .withType(ApiHttpRequestType.POST) .withBearerToken(true) - // .withBody(req) - // .withLanguge(lang) + .withBody(request) + .withLanguge(lang) .build() return lastValueFrom(this.apiService.fetch(apiRequest).pipe( map((apiResponse) => apiResponse.body.result),