mirror of
https://github.com/SyncrowIOT/syncrow-app.git
synced 2025-11-26 19:14:54 +00:00
count_down_ac
This commit is contained in:
@ -1,3 +1,4 @@
|
||||
import 'package:dio/dio.dart';
|
||||
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
|
||||
import 'package:syncrow_app/features/app_layout/model/space_model.dart';
|
||||
import 'package:syncrow_app/features/auth/model/user_model.dart';
|
||||
@ -95,4 +96,21 @@ class SpacesAPI {
|
||||
);
|
||||
return response;
|
||||
}
|
||||
|
||||
static Future activationCodeSpace({
|
||||
String? activationCode,
|
||||
String? userUuid,
|
||||
}) async {
|
||||
Map body = {"activationCode": activationCode, "userUuid": userUuid};
|
||||
final response = await _httpService.post(
|
||||
path: ApiEndpoints.activationCode,
|
||||
showServerMessage: true,
|
||||
body: body,
|
||||
expectedResponseModel: (json) {
|
||||
|
||||
return json;
|
||||
},
|
||||
);
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user