update api overview
This commit is contained in:
@@ -158,7 +158,7 @@ void main() async {
|
||||
JobType.values.asNameMap().keys;
|
||||
|
||||
// List<Map<String, List<Map<String, dynamic>>>> this is the real type lol
|
||||
List<dynamic> output = [];
|
||||
Map<String, dynamic> output = {};
|
||||
|
||||
for (int i = 0; i < filters.length; i++) {
|
||||
var postgresResult = (await postgres.query('''
|
||||
@@ -176,7 +176,7 @@ void main() async {
|
||||
'''))[0][0];
|
||||
|
||||
if (postgresResult != null) {
|
||||
output.add({filters.elementAt(i): postgresResult});
|
||||
output.addAll({filters.elementAt(i): postgresResult});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user