directus-dart icon indicating copy to clipboard operation
directus-dart copied to clipboard

Solution: createMany() throws an error "Problem with Directus".

Open reev-create opened this issue 2 years ago • 0 comments

The below line throws an error: "Problem with Directus" https://github.com/apstanisic/directus-dart/blob/0bc0443fbf1a8ec4a0bb9038eaff520987131dec/lib/src/modules/items/items_handler.dart#L98

It should actually be converted to list like below final mapData = data.map((item) => converter.toJson(item)).toList();

reev-create avatar Jun 30 '22 16:06 reev-create