Skip to content

Commit bcc5024

Browse files
authored
getProblemLLMHintUrl 함수 시그니처에서 누락된 userCode 파라미터 복원 (#650)
contestID 추가 시 userCode가 파라미터에서 빠져 ReferenceError 발생
1 parent 35b27d5 commit bcc5024

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎frontend/src/pages/oj/api.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export default {
209209
},
210210
})
211211
},
212-
getProblemLLMHintUrl(problemID, contestID) {
212+
getProblemLLMHintUrl(problemID, userCode, contestID) {
213213
let url = `/api/problem/llm_hint?problem_id=${encodeURIComponent(problemID)}`
214214
if (contestID) url += `&contest_id=${encodeURIComponent(contestID)}`
215215
if (userCode) {

0 commit comments

Comments
 (0)