Social media platform X has admitted its mistake and assured the Government of India that it will work in accordance with Indian laws, government sources said, amid a controversy over…