fix: command names
Node.js CI / Lint and Test (push) Successful in 51s

This commit is contained in:
2025-09-27 17:42:27 -07:00
parent e11bb24c2b
commit b950827deb
+2 -2
View File
@@ -20,10 +20,10 @@ interface Query {
} }
const buildQuery = (type: string, id: string): Query => { const buildQuery = (type: string, id: string): Query => {
if (type === "question") { if (type === "questions") {
return { questionChannelId: id }; return { questionChannelId: id };
} }
if (type === "answer") { if (type === "answers") {
return { answerChannelId: id }; return { answerChannelId: id };
} }
return {}; return {};