changed endpoint

This commit is contained in:
hannathkadher
2024-12-10 10:49:43 +04:00
parent 2ac8128eff
commit 66eadd2567
7 changed files with 31 additions and 17 deletions

View File

@ -1,5 +1,6 @@
import 'package:syncrow_app/services/api/api_links_endpoints.dart';
import 'package:syncrow_app/services/api/http_service.dart';
import 'package:syncrow_app/utils/constants/temp_const.dart';
class HomeCreation {
static final HTTPService _httpService = HTTPService();
@ -148,7 +149,8 @@ class HomeCreation {
try {
final fullPath = ApiEndpoints.addSubSpace
.replaceAll('{communityUuid}', communityId)
.replaceAll('{spaceUuid}', spaceId);
.replaceAll('{spaceUuid}', spaceId)
.replaceAll('{projectUuid}', TempConst.projectId);
final response = await _httpService.post(
path: fullPath,
body: body,