This commit is contained in:
pakintada@gmail.com 2023-12-07 11:09:20 +07:00
commit 96f341aa28
26 changed files with 1068 additions and 664 deletions

View file

@ -153,7 +153,7 @@ export class RecipeService {
getRecipeCountries(): Observable<string[]> {
return this._httpClient
.get<string[]>(environment.api + '/recipes/versions', {
.get<string[]>(environment.api + '/recipes/countries', {
withCredentials: true,
responseType: 'json',
})
@ -162,7 +162,7 @@ export class RecipeService {
getRecipeFiles(country: string): Observable<string[]> {
return this._httpClient
.get<string[]>(environment.api + '/recipes/versions/' + country, {
.get<string[]>(environment.api + '/recipes/' + country + '/versions', {
withCredentials: true,
responseType: 'json',
})