Loading web/src/data/datasources/prod/category_datasource.ts +0 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,6 @@ export class CategoryDatasourceProd implements CategoryDatasourceInf{ async getCategories(): Promise<Category[]> { const {data: dataES} = await axios.get<CategoryModel[]>(APIUrl+'/category/ES'); console.log(dataES); const {data: dataEN} = await axios.get<CategoryModel[]>(APIUrl+'/category/EN'); const categories : Category[] = []; for(let i=0; i<dataES.length; i++){ Loading Loading
web/src/data/datasources/prod/category_datasource.ts +0 −2 Original line number Diff line number Diff line Loading @@ -17,8 +17,6 @@ export class CategoryDatasourceProd implements CategoryDatasourceInf{ async getCategories(): Promise<Category[]> { const {data: dataES} = await axios.get<CategoryModel[]>(APIUrl+'/category/ES'); console.log(dataES); const {data: dataEN} = await axios.get<CategoryModel[]>(APIUrl+'/category/EN'); const categories : Category[] = []; for(let i=0; i<dataES.length; i++){ Loading