forked from eatvio/eatvio_app
refactor(diary): fix service
This commit is contained in:
@@ -13,7 +13,7 @@ abstract class DiaryService {
|
||||
Future<Map<String, int>> getDiaryID();
|
||||
|
||||
@GET('/diary/{id}/show/')
|
||||
Future<DiaryModel> getDiary(@Path() int id);
|
||||
Future<Map<String, DiaryModel>> getDiary(@Path() int id);
|
||||
|
||||
@GET('/diary/{id}/dailyNutritionData/')
|
||||
Future<DiaryModel> getChart(@Path() String id);
|
||||
|
||||
Reference in New Issue
Block a user