mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-09-24 23:01:18 +08:00
fix: renamed report_id to thread_id in report a thread test (#48426)
* fix: renamed report_id to thread_id * fix: reverted the renaming of report_id to thread_id in non-english files * fix: reverted renaming of report_id in ukranian curriculum
This commit is contained in:
+2
-2
@@ -313,8 +313,8 @@ async (getUserInput) => {
|
||||
|
||||
let res = await fetch(`${url}/api/threads/fcc_test`);
|
||||
const threads = await res.json();
|
||||
const report_id = threads[0]._id;
|
||||
const data = { report_id };
|
||||
const thread_id = threads[0]._id;
|
||||
const data = { thread_id };
|
||||
|
||||
res = await fetch(`${url}/api/threads/fcc_test`, {
|
||||
method: 'PUT',
|
||||
|
||||
Reference in New Issue
Block a user