Skip to content
Snippets Groups Projects
Commit b3ae5dc6 authored by Andri Joos's avatar Andri Joos 😊
Browse files

fixup! fix

parent b7aae0ca
No related merge requests found
......@@ -23,7 +23,7 @@ class CalendarEventDbConverter {
static CalendarEventResponse fromDbData(Map<String, dynamic> map) {
return CalendarEventResponse(
id: getRequiredMapItem(RequestResponseVariables.idFieldName, map),
id: getRequiredMapItem(DatabaseVariables.idColumnName, map),
userId: getRequiredMapItem(userIdDbFieldName, map),
teamId: getRequiredMapItem(teamIdDbFieldName, map),
title: getRequiredMapItem(titleDbFieldName, map),
......
......@@ -14,6 +14,8 @@ abstract class ApiHelper {
return map.containsKey(key);
} on FormatException catch(_) {
return false;
} on TypeError catch (_) {
return false;
}
}
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment