watering
This commit is contained in:
@@ -231,6 +231,8 @@ export const wateringAPI = {
|
||||
createPlan: (payload) => apiClient.post('/watering/plans', payload),
|
||||
getPlanPoints: (planId) => apiClient.get(`/watering/plans/${planId}/points`),
|
||||
addPlanPoint: (planId, payload) => apiClient.post(`/watering/plans/${planId}/points`, payload),
|
||||
updatePoint: (pointId, payload) => apiClient.put(`/watering/points/${pointId}`, payload),
|
||||
deletePoint: (pointId) => apiClient.delete(`/watering/points/${pointId}`),
|
||||
};
|
||||
|
||||
// Admin API endpoints
|
||||
|
||||
Reference in New Issue
Block a user