-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor getTopics #9584
Refactor getTopics #9584
Conversation
When I create a contest and go to the Create Thread page, there's an output validation error and the topics dropdown doesn't show |
INTERNAL_SERVER_ERROR: [ZodError] thread.getTopics: [
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
2,
"active_contest_managers",
0,
"contest_address"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
2,
"active_contest_managers",
0,
"community_id"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
2,
"active_contest_managers",
0,
"name"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "array",
"received": "undefined",
"path": [
2,
"active_contest_managers",
0,
"payout_structure"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "number",
"received": "undefined",
"path": [
2,
"active_contest_managers",
0,
"interval"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "string",
"received": "undefined",
"path": [
2,
"active_contest_managers",
0,
"created_at"
],
"message": "Required"
},
{
"code": "invalid_type",
"expected": "array",
"received": "null",
"path": [
2,
"active_contest_managers",
0,
"content"
],
"message": "Expected array, received null"
}
] |
Create thread is failing with this error
|
@mzparacha can you provide some reproduction steps? Seems to be working fine on my end. |
Apologies, I was missing a migration run from master branch. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Link to Issue
Closes: #9103
Description of Changes
"How We Fixed It"
Test Plan
Deployment Plan
Other Considerations