remove autopublish check for endpoints