mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-12 20:35:24 +00:00
Compare commits
1 commit
b5b01d9589
...
0dc43e9477
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0dc43e9477 |
2 changed files with 0 additions and 9 deletions
|
|
@ -7,11 +7,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
## [4.10.2] - 2025-12-04
|
|
||||||
|
|
||||||
### Fixed
|
|
||||||
- Fixed issue where the disable telemetry flag was not being respected for web server telemetry. [#657](https://github.com/sourcebot-dev/sourcebot/pull/657)
|
|
||||||
|
|
||||||
## [4.10.1] - 2025-12-03
|
## [4.10.1] - 2025-12-03
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
||||||
|
|
@ -48,10 +48,6 @@ const getPostHogCookie = (cookieStore: Pick<RequestCookies, 'get'>): PostHogCook
|
||||||
}
|
}
|
||||||
|
|
||||||
export async function captureEvent<E extends PosthogEvent>(event: E, properties: PosthogEventMap[E]) {
|
export async function captureEvent<E extends PosthogEvent>(event: E, properties: PosthogEventMap[E]) {
|
||||||
if (env.SOURCEBOT_TELEMETRY_DISABLED === 'true') {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
const cookieStore = await cookies();
|
const cookieStore = await cookies();
|
||||||
const cookie = getPostHogCookie(cookieStore);
|
const cookie = getPostHogCookie(cookieStore);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue