Skip to content

Commit c6b9942

Browse files
authored
fix: sending cached events null check (#218)
* fix: sending cached events null check * fix
1 parent 882937e commit c6b9942

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
## Next
22

33
- chore: Session Replay - GA
4+
- fix: sending cached events null check ([#218](https://github.com/PostHog/posthog-flutter/pull/218))
45

56
## 3.10.0 - 2025-01-07
67

posthog/src/main/java/com/posthog/internal/PostHogSendCachedEventsIntegration.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ internal class PostHogSendCachedEventsIntegration(
129129
storagePrefix: String?,
130130
endpoint: PostHogApiEndpoint,
131131
) {
132-
storagePrefix.let {
132+
storagePrefix?.let {
133133
val dir = File(it, config.apiKey)
134134

135135
if (!dir.existsSafely(config)) {

0 commit comments

Comments
 (0)