mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-06-19 21:09:51 +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:
parent
b1627abb2c
commit
95eebb1acd
@ -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',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user