CreateTemporaryPassword

This commit is contained in:
mohammad
2024-06-30 14:59:18 +03:00
parent 695d6c109b
commit b00218ba5d
5 changed files with 102 additions and 59 deletions

View File

@ -158,7 +158,7 @@ class DevicesAPI {
required String pageType,
List<Schedule>? scheduleList,
}) async {
try {
String endpointPath;
if (pageType == 'Online Password') {
endpointPath = ApiEndpoints.addTemporaryPassword
@ -187,7 +187,7 @@ class DevicesAPI {
expectedResponseModel: (json) => json,
);
return response;
} catch (e) {}
}