mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2026-10-24 21:27:55 +00:00
updated add to room, and verify to space
This commit is contained in:
@@ -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'],
|
||||
|
||||
Reference in New Issue
Block a user