mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-06-25 08:48:13 +02:00
feat: add posthog events (#231)
* feat: add posthog events * fix: workflow_duplicated event * chore: add events to enum
This commit is contained in:
parent
bb5f56bfb7
commit
3f19a16e7f
24 changed files with 450 additions and 93 deletions
|
|
@ -60,6 +60,7 @@ async def signup(request: SignupRequest):
|
|||
email=user.email,
|
||||
name=request.name,
|
||||
organization_id=organization.id,
|
||||
provider_id=user.provider_id,
|
||||
),
|
||||
)
|
||||
|
||||
|
|
@ -84,6 +85,7 @@ async def login(request: LoginRequest):
|
|||
id=user.id,
|
||||
email=user.email,
|
||||
organization_id=user.selected_organization_id,
|
||||
provider_id=user.provider_id,
|
||||
),
|
||||
)
|
||||
|
||||
|
|
@ -94,4 +96,5 @@ async def get_current_user(user: UserModel = Depends(get_user)):
|
|||
id=user.id,
|
||||
email=user.email,
|
||||
organization_id=user.selected_organization_id,
|
||||
provider_id=user.provider_id,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue