Update RemoteCreateSpaceService to correct API endpoint for space creation, changing the return path to include '/spaces' for accurate resource targeting.

This commit is contained in:
Faris Armoush
2025-07-16 11:01:26 +03:00
parent 4ef4858cee
commit 8e303af0d7

View File

@ -58,6 +58,6 @@ final class RemoteCreateSpaceService implements CreateSpaceService {
throw APIException('Community UUID is not set'); throw APIException('Community UUID is not set');
} }
return '/projects/$projectUuid/communities/$communityUuid'; return '/projects/$projectUuid/communities/$communityUuid/spaces';
} }
} }