Comments (8)
- Quiz Record bug fix
- Remove createAt
from cnweb30-backend.
Since createAt is almost like a primary key to the object in studentList, removing it causes mongo to automatically add _id property when the same record is added
from cnweb30-backend.
so I have to add also createdAt
param when sending the PUT request? In the payload example, the createdAt param is in the object
from cnweb30-backend.
it's not finished yet, right? @nghiatm341 lmk when you merged that into main
from cnweb30-backend.
so I have to add also
createdAt
param when sending the PUT request? In the payload example, the createdAt param is in the object
@MasterPi-2124
At first I want to add that so you can add the time manually. But if you find it unnecessary I'll remove it
from cnweb30-backend.
current bugs:
- when PUT a new record, the response still returns the old data (not updated with that new record pushed). Not sure if it is serious or not because I did not use that.
- a student can submit a lot of times (duplicate check)
from cnweb30-backend.
- when PUT a new record, the response still returns the old data (not updated with that new record pushed). Not sure if it is serious or not because I did not use that.
This is a default response of all api except get, they will return the old data before put, delete.
Would you like this to be removed or change? If change, do you mean change to return the updated version
- a student can submit a lot of times (duplicate check)
How would you like this to play out? Should I check ip address, student id, or both?
from cnweb30-backend.
when PUT a new record, the response still returns the old data (not updated with that new record pushed). Not sure if it is serious or not because I did not use that.
This is the default with every update or delete. Do you wish to change it?
from cnweb30-backend.
Related Issues (20)
- Should we add update quizzes feature? HOT 3
- Notification
- Quiz record collect IP HOT 1
- Unused API HOT 2
- Class API HOT 4
- Next-auth HOT 9
- validate quizRecords HOT 2
- Change live server to new DNS HOT 5
- New Object: User (teacher) HOT 2
- get Quiz by iD and get quizRecord by ID should be public
- get Class return failed with error HOT 2
- remove users capability? HOT 9
- New Class HOT 1
- New Quiz HOT 1
- Class Dashboard HOT 3
- quizRecord failed cases HOT 27
- quiz formLink can be empty HOT 1
- sort quizzes in class object by startDate HOT 4
- PUT quizRecord successfully but still return 422 error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cnweb30-backend.