updated add to room, and verify to space

This commit is contained in:
hannathkadher
2024-11-05 12:27:27 +04:00
parent 34536e6584
commit 52f6be3db0
8 changed files with 121 additions and 26 deletions
+2 -1
View File
@@ -79,10 +79,11 @@ class SpacesAPI {
}
static Future<bool> joinUnit(
String userId,
Map<String, String> body,
) async {
final response = await _httpService.post(
path: ApiEndpoints.verifyInvitationCode,
path: ApiEndpoints.verifyInvitationCode.replaceAll('{userUuid}', userId),
showServerMessage: false,
body: body,
expectedResponseModel: (json) => json['success'],