Changed apiRequest success callback to map to options.success.