streetsofboston
04/30/2020, 5:52 PMareRemindersEnabled return type is fine. It is declared to return only a successful Either and you handle it by providing a false value in case of an error. Don't change the Left type to Unit. Something else in your original code needs a change