Skip to content

Commit

Permalink
ref : remove unused function from data_repository.dart
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanaidilp committed May 31, 2021
1 parent adf4274 commit ca99019
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions lib/repositories/data_repository.dart
Original file line number Diff line number Diff line change
Expand Up @@ -309,17 +309,6 @@ class DataRepository {
return result;
}

Future<Map<String, dynamic>> getEmployeePresence(DateTime date) async {
Map<String, dynamic> data;
try {
data =
await apiService.getEndpointData(endpoint: Endpoint.presence, query: {
'date': date.toString(),
});
} catch (e) {}
return data;
}

Future<Response> cancelAttendance(Map<String, dynamic> data) async {
Response response;
try {
Expand Down

0 comments on commit ca99019

Please sign in to comment.