/api/groups and /api/invites refactored, fixed some inserts/updates in which I didn't include the id
This commit is contained in:
@@ -58,6 +58,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
||||
{ id: fields.id },
|
||||
{
|
||||
$set: {
|
||||
id: fields.id,
|
||||
solutions,
|
||||
score: {
|
||||
correct: speakingReverseMarking[backendRequest.data.overall || 0] || 0,
|
||||
|
||||
Reference in New Issue
Block a user