apihub
apihub copied to clipboard
BUG: Incorrect operator for creating a group chat
Describe the bug
For Chat API "POST:host//api/v1/chats/group/" In file src\controllers\apps\chat-app\chat.controllers.js at line 231 the comparison operator should also use a "="
To Reproduce
No response
Expected behavior
No response
Screenshots
No response
OS
No response
OS Version
No response
Client
No response
Additional context or Information
No response
@kumar-kanujia , is not the length of array starts from Zero , then there is no need for "=" , i think.
Hi! I’d like to work on this issue. I looked at line 231, and it seems to correctly check for duplicates and validate minimum members. Could you please confirm if the bug still exists or point me to where the operator issue occurs?
Hi @hiteshchoudhary,
Have fixed the issue