add autoamtion tasks

This commit is contained in:
ashrafzarkanisala
2024-07-22 23:56:33 +03:00
parent 033f33683c
commit 9f68e4695f
14 changed files with 745 additions and 1905 deletions
+2 -2
View File
@@ -2,8 +2,8 @@ import 'package:flutter/foundation.dart';
abstract class ApiEndpoints {
static const String baseUrl = kReleaseMode
? 'https://syncrow-staging.azurewebsites.net/api'
: 'https://syncrow-dev.azurewebsites.net/api';
? 'https://syncrow-staging.azurewebsites.net'
: 'https://syncrow-dev.azurewebsites.net';
// static const String baseUrl = 'http://100.107.182.63:4001'; //Localhost
////////////////////////////////////// Authentication ///////////////////////////////
+1 -1
View File
@@ -12,7 +12,7 @@ class SceneApi {
try {
final response = await _httpService.post(
path: ApiEndpoints.createScene,
body: createSceneModel.toJson(),
body: createSceneModel.toMap(),
showServerMessage: false,
expectedResponseModel: (json) {
return json;