Skip to content

Commit

Permalink
server/integrations/google: fix on_after_signup task not triggered wi…
Browse files Browse the repository at this point in the history
…th actual user id
  • Loading branch information
frankie567 committed Aug 13, 2024
1 parent 6fc4ac6 commit b13c8c1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/polar/integrations/google/service.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@ async def login_or_signup(
oauth_accounts=[oauth_account],
)
session.add(user)
await session.flush()

enqueue_job("user.on_after_signup", user_id=user.id)
await loops_service.user_signup(user, signup_type)

await session.flush()

return user

async def link_user(
Expand Down

0 comments on commit b13c8c1

Please sign in to comment.