Fixed build

Was referncing an api call that was too new