Remove isApproved and fixed api file