mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-07-10 23:27:22 +00:00
changed endpoint
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user