We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66ef393 commit f80c59eCopy full SHA for f80c59e
common/utils/question-getter/getQuestionByKeyword.js
@@ -1,7 +1,9 @@
1
-import { getQuestionKeywordJson } from '#resources/headers/questionKeywordJson.js'
2
import { graphql } from '#common/utils/http/graphql.js'
+import {getQuestionSearchJson} from "#resources/headers/questionSearchJson.js";
3
4
export async function getQuestionByKeyword(keyword) {
5
- const questionData = await graphql(getQuestionKeywordJson(keyword.toString()))
+ const questionData = await graphql(getQuestionSearchJson(keyword.toString()))
6
+ console.log(questionData)
7
return questionData?.data?.problemsetQuestionList?.questions
8
}
9
+
resources/headers/questionKeywordJson.js
0 commit comments