Closed seveibar closed 1 year ago
[Description of the issue or feature]
POST /devices/list
{ "connected_account_ids": [] }
Expected behavior: 400 error invalid parameter connected_account_ids
connected_account_ids
Note for implementor, most likely can be implemented via a zod validation on the array.
We should look into how Nextlove is validating arrays. There seems to be a validation process in place that works well for POST, but not for GET.
POST
GET
Prerequisites
Description
[Description of the issue or feature]
Steps to Reproduce
POST /devices/list
with{ "connected_account_ids": [] }
Expected behavior: 400 error invalid parameter
connected_account_ids
Additional Information
Note for implementor, most likely can be implemented via a zod validation on the array.