feat(debugger): 🚧 WIP add upgrade client-server detector

Add CD for deploying merged pull request client and server packages
This commit is contained in:
pakintada@gmail.com 2024-04-01 09:38:34 +07:00
parent 387af2efa9
commit 2c5b28c0b9
7 changed files with 94 additions and 10 deletions

View file

@ -52,6 +52,10 @@ export class RecipeService {
private _route: ActivatedRoute
) {}
shareHttpClient(){
return this._httpClient;
}
getRecipesDashboard(
params: any = {
country: this.getCurrentCountry(this.department!),
@ -102,7 +106,7 @@ export class RecipeService {
productCode: string
): Promise<Observable<RecipeDetail>> {
let asyncCountry = await this.getCurrentCountry(this.department!);
console.log('get detail by asyncCountry', asyncCountry);
// console.log('get detail by asyncCountry', asyncCountry);
return this._httpClient.get<RecipeDetail>(
environment.api + '/recipes/' + productCode,