Skip to content

Commit bd6b48d

Browse files
committed
fix: parameter error in POST request
1 parent 6829d1a commit bd6b48d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function App() {
6969
const backend_url = process.env.REACT_APP_BACKEND_ENDPOINT_URL + "/runcode";
7070

7171
var data = {
72-
"lang": lang,
72+
"lang": lang.toUpperCase(),
7373
"source": python,
7474
"input": input,
7575
"memory_limit": 243232,

0 commit comments

Comments
 (0)