Skip to content

Commit 49e8afc

Browse files
committed
Remove duplicated call
1 parent ab3d325 commit 49e8afc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

autogpt_platform/backend/backend/data/onboarding.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ async def complete_onboarding_step(user_id: str, step: OnboardingStep):
175175
"""
176176
onboarding = await get_user_onboarding(user_id)
177177
if step not in onboarding.completedSteps:
178-
onboarding = await get_user_onboarding(user_id)
179178
await UserOnboarding.prisma().update(
180179
where={"userId": user_id},
181180
data={

0 commit comments

Comments
 (0)