Skip to content

Fix 500 on default aaq topic selection#7289

Open
emilghittasv wants to merge 1 commit intomozilla:mainfrom
emilghittasv:fix-500-on-default-aaq-topic-selection
Open

Fix 500 on default aaq topic selection#7289
emilghittasv wants to merge 1 commit intomozilla:mainfrom
emilghittasv:fix-500-on-default-aaq-topic-selection

Conversation

@emilghittasv
Copy link
Copy Markdown
Collaborator

No description provided.

):
topic_id = request.GET.get("category")
if not topic_id:
return HttpResponse(status=204)
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are getting a validation error that instead of the topic id which we need to retrieve it form the db (and it's an integer) we are getting an empty string. The proposed response will silence the error but it's not fixing the underlying problem

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants