CaffeinatedCoding commited on
Commit
7a1e897
·
verified ·
1 Parent(s): 7fe421c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. frontend/court/court.js +3 -3
frontend/court/court.js CHANGED
@@ -278,7 +278,7 @@ async function submitArgument() {
278
  headers: { 'Content-Type': 'application/json' },
279
  body: JSON.stringify({
280
  session_id: state.currentSession,
281
- user_argument: argument
282
  })
283
  });
284
 
@@ -410,8 +410,8 @@ async function submitDocumentRequest() {
410
  headers: { 'Content-Type': 'application/json' },
411
  body: JSON.stringify({
412
  session_id: state.currentSession,
413
- document_type: docType,
414
- filed_by: docSide
415
  })
416
  });
417
 
 
278
  headers: { 'Content-Type': 'application/json' },
279
  body: JSON.stringify({
280
  session_id: state.currentSession,
281
+ argument: argument
282
  })
283
  });
284
 
 
410
  headers: { 'Content-Type': 'application/json' },
411
  body: JSON.stringify({
412
  session_id: state.currentSession,
413
+ doc_type: docType,
414
+ for_side: docSide
415
  })
416
  });
417