Skip to content

Commit bdf6fdc

Browse files
committed
Update CollaborationWindow.jsx
- Add Updated API Calls to History Service
1 parent a0eaa3a commit bdf6fdc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

Frontend/src/Components/Collaboration/CollaborationWindow.jsx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,11 @@ const CollaborationWindow = () => {
155155
userId,
156156
otherUserId,
157157
sessionId,
158-
question._id
158+
question._id,
159+
question.title,
160+
question.description,
161+
question.category,
162+
question.complexity
159163
);
160164
console.log(result);
161165

@@ -185,7 +189,11 @@ const CollaborationWindow = () => {
185189
userId,
186190
otherUserId,
187191
sessionId,
188-
question._id
192+
question._id,
193+
question.title,
194+
question.description,
195+
question.category,
196+
question.complexity
189197
);
190198
console.log(result);
191199
showToast("Your code has been submitted");

0 commit comments

Comments
 (0)