changed endpoint for create automation endpoint

This commit is contained in:
hannathkadher
2025-03-14 12:40:52 +04:00
parent cbf10bbf78
commit c2fc8fa0ae
3 changed files with 11 additions and 5 deletions

View File

@ -144,7 +144,7 @@ abstract class ApiEndpoints {
/// POST
static const String createScene = '/scene/tap-to-run';
static const String triggerScene = '/scene/tap-to-run/{sceneId}/trigger';
static const String createAutomation = '/automation';
static const String createAutomation = '/projects/{projectId}/automations';
/// GET
static const String getUnitScenes =