forked from eatvio/eatvio_app
feat: recipe like
This commit is contained in:
@@ -103,6 +103,16 @@ abstract class FeedService {
|
||||
@Path() required int id,
|
||||
});
|
||||
|
||||
@POST('/api/recipes/{slug}/like')
|
||||
Future<void> likeRecipe({
|
||||
@Path() required String slug,
|
||||
});
|
||||
|
||||
@POST('/api/recipes/{slug}/unliked')
|
||||
Future<void> unlikeRecipe({
|
||||
@Path() required String slug,
|
||||
});
|
||||
|
||||
@GET('/api/consultants/index')
|
||||
Future<FeedConsultantPaginationModel> getConsultants();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user