Closed jainpawan21 closed 8 months ago
@Basfar @mayorJAY
Noted, On it
@jainpawan21 @Basfar https://api.novu.co/api#/Organizations/OrganizationController_getOrganizations I tried sending a request to this endpoint using Postman, but the response body I got seems to be different from what is stated on the Swagger doc. The doc seems to be confusing, this is what I got on Postman:
{
"data": [
{
"_id": String,
"name": String,
"createdAt": "2023-06-22T21:01:05.684Z",
"updatedAt": "2023-06-22T21:01:05.684Z",
"__v": 0
}
]
}
Hi @mayorJAY
In controller schema, all possible folds are mentioned. There are few optional fields.
createdAt, updatedAt and __v is not there. Shall we imclude these also?
@mayorJAY Has this been taken care of?
Yes, @Basfar is working on it
Take this issue as reference https://github.com/novuhq/novu/issues/4775