From 8e303af0d73fd908ea6bb2d20a685b9696de1b1d Mon Sep 17 00:00:00 2001 From: Faris Armoush Date: Wed, 16 Jul 2025 11:01:26 +0300 Subject: [PATCH] Update RemoteCreateSpaceService to correct API endpoint for space creation, changing the return path to include '/spaces' for accurate resource targeting. --- .../create_space/data/services/remote_create_space_service.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pages/space_management_v2/modules/create_space/data/services/remote_create_space_service.dart b/lib/pages/space_management_v2/modules/create_space/data/services/remote_create_space_service.dart index f8dba7dc..768f6438 100644 --- a/lib/pages/space_management_v2/modules/create_space/data/services/remote_create_space_service.dart +++ b/lib/pages/space_management_v2/modules/create_space/data/services/remote_create_space_service.dart @@ -58,6 +58,6 @@ final class RemoteCreateSpaceService implements CreateSpaceService { throw APIException('Community UUID is not set'); } - return '/projects/$projectUuid/communities/$communityUuid'; + return '/projects/$projectUuid/communities/$communityUuid/spaces'; } }