api changed to return only a single leave day