File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,7 @@ import { useLoginStore } from '../state/login-store'
66import { identifyUser , trackEvent } from '../utils/analytics'
77import { getUserCredentials } from '../utils/auth'
88import { resetCodebuffClient } from '../utils/codebuff-client'
9+ import { IS_FREEBUFF } from '../utils/constants'
910import { loggerContext } from '../utils/logger'
1011
1112import type { MultilineInputHandle } from '../components/multiline-input'
@@ -14,7 +15,7 @@ import type { User } from '../utils/auth'
1415const setAuthLoggerContext = ( params : { userId : string ; email : string } ) => {
1516 loggerContext . userId = params . userId
1617 loggerContext . userEmail = params . email
17- identifyUser ( params . userId , { email : params . email } )
18+ identifyUser ( params . userId , { email : params . email , is_freebuff : IS_FREEBUFF } )
1819}
1920
2021const clearAuthLoggerContext = ( ) => {
You can’t perform that action at this time.
0 commit comments