projectId

This commit is contained in:
mohammad
2025-02-06 11:28:40 +03:00
parent ba4da78846
commit b0abd42b0c
4 changed files with 5 additions and 6 deletions

View File

@ -17,7 +17,6 @@ import 'package:syncrow_web/utils/color_manager.dart';
import 'package:syncrow_web/utils/constants/assets.dart';
import 'package:syncrow_web/utils/extension/build_context_x.dart';
import 'package:syncrow_web/utils/style.dart';
class UsersPage extends StatelessWidget {
UsersPage({super.key});

View File

@ -70,7 +70,7 @@ class UserPermissionApi {
"jobTitle": jobTitle != '' ? jobTitle : null,
"phoneNumber": phoneNumber != '' ? phoneNumber : null,
"roleUuid": roleUuid,
"projectUuid": "0e62577c-06fa-41b9-8a92-99a21fbaf51c",
"projectUuid": "bcda711e-9fc2-4168-a05e-171b4026d1ff",
"spaceUuids": spaceUuids,
};
final response = await _httpService.post(
@ -149,7 +149,7 @@ class UserPermissionApi {
"jobTitle": jobTitle != '' ? jobTitle : " ",
"phoneNumber": phoneNumber != '' ? phoneNumber : " ",
"roleUuid": roleUuid,
"projectUuid": "0e62577c-06fa-41b9-8a92-99a21fbaf51c",
"projectUuid": "bcda711e-9fc2-4168-a05e-171b4026d1ff",
"spaceUuids": spaceUuids,
};
final response = await _httpService.put(
@ -190,7 +190,7 @@ class UserPermissionApi {
try {
Map<String, dynamic> bodya = {
"disable": status,
"projectUuid": "0e62577c-06fa-41b9-8a92-99a21fbaf51c"
"projectUuid": "bcda711e-9fc2-4168-a05e-171b4026d1ff"
};
final response = await _httpService.put(

View File

@ -1,7 +1,7 @@
import 'package:flutter_dotenv/flutter_dotenv.dart';
abstract class ApiEndpoints {
static const String projectUuid = "0e62577c-06fa-41b9-8a92-99a21fbaf51c";
static const String projectUuid = "bcda711e-9fc2-4168-a05e-171b4026d1ff";
static String baseUrl = dotenv.env['BASE_URL'] ?? '';
static const String signUp = '/authentication/user/signup';
static const String login = '/authentication/user/login';

View File

@ -1,3 +1,3 @@
class TempConst {
static const projectId = '0e62577c-06fa-41b9-8a92-99a21fbaf51c';
static const projectId = 'bcda711e-9fc2-4168-a05e-171b4026d1ff';
}