Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update views.py
should fix the 500 error after logging in
  • Loading branch information
Vijayragha1 authored Nov 24, 2023
commit 020b197fda73e48f50e65d7dd03958c91a1b63fc
2 changes: 1 addition & 1 deletion web/dashboard/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def onboarding(request):
context['openai_key'] = OpenAiAPIKey.objects.first()
context['netlas_key'] = NetlasAPIKey.objects.first()

if projects:
if project:
slug = project.slug
return HttpResponseRedirect(reverse('dashboardIndex', kwargs={'slug': slug}))

Expand Down