associatedemployers / safely-api

0 stars 0 forks source link

[Bug] Booked participants size must be an array #71

Closed Evilscaught closed 2 years ago

Evilscaught commented 2 years ago

Description There is a problem with the booked resources aggregate where the $size function does not receive correct arguments in the pipeline. This incorrectly formats the trainee array.

'PlanExecutor error during aggregation :: caused by :: The argument to $size must be an array, but was of type: missing'