forgot to switch the chats endpoint to work with uid