Skip to content

Commit

Permalink
fix console logs and workspace pop up
Browse files Browse the repository at this point in the history
  • Loading branch information
cmayeux05 committed May 12, 2024
1 parent 731879d commit 271653d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion client/src/views/Researcher/DayLevelReportView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const DayLevelReportView = () => {
.catch(error => {
console.log(error)
});
//workspaceRef.current.dispose();
workspaceRef.current.dispose();
setSession(session.data);

const fetchedStudents = session.data.students[0].name;
Expand Down
4 changes: 2 additions & 2 deletions server/api/session/controllers/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ module.exports = {
const {id} = ctx.params;
const {arduino} = ctx.request.body;
const session = await strapi.services.session.findOne({ id });
console.log(session)
console.log(arduino)
//console.log(session)
//console.log(arduino)
session.arduino = arduino;
const updatedSession = await strapi.services.session.update({id}, session);
return updatedSession
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"name": "Apache 2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
},
"x-generation-date": "05/05/2024 5:52:26 PM"
"x-generation-date": "05/12/2024 9:04:36 PM"
},
"x-strapi-config": {
"path": "/documentation",
Expand Down

0 comments on commit 271653d

Please sign in to comment.