Skip to content

Commit ca99019

Browse files
committed
ref : remove unused function from data_repository.dart
1 parent adf4274 commit ca99019

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/repositories/data_repository.dart

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -309,17 +309,6 @@ class DataRepository {
309309
return result;
310310
}
311311

312-
Future<Map<String, dynamic>> getEmployeePresence(DateTime date) async {
313-
Map<String, dynamic> data;
314-
try {
315-
data =
316-
await apiService.getEndpointData(endpoint: Endpoint.presence, query: {
317-
'date': date.toString(),
318-
});
319-
} catch (e) {}
320-
return data;
321-
}
322-
323312
Future<Response> cancelAttendance(Map<String, dynamic> data) async {
324313
Response response;
325314
try {

0 commit comments

Comments
 (0)