We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfa5ce1 commit d0d9f14Copy full SHA for d0d9f14
packages/core/lib/plugins/segment_destination.dart
@@ -35,7 +35,7 @@ class SegmentDestination extends DestinationPlugin with Flushable {
35
final succeeded = await analytics?.httpClient.startBatchUpload(
36
analytics!.state.configuration.state.writeKey, batch,
37
host: _apiHost);
38
- if (succeeded) {
+ if (succeeded == true) {
39
sentEvents.addAll(batch);
40
} else {
41
numFailedEvents += batch.length;
0 commit comments