debug db queries

This commit is contained in:
SowinskiBraeden committed 2023-01-10 12:10:30 -08:00
1 parent a092e82f7f
commit 0338189ffa
4 files changed
+27 -28

No files matched your search

+5 -5
View File
@@ -369,9 +369,9 @@ func RemoveStudentsDisabled(c *fiber.Ctx) error {
update_time, _ := time.Parse(time.RFC3339, time.Now().Format(time.RFC3339))
update := bson.M{
"$set": bson.M{
"Account.accountdisabled": false,
"Account.alerted": false,
"Account.attempts": 0,
"account.accountdisabled": false,
"account.alerted": false,
"account.attempts": 0,
"updated_at": update_time,
},
}
@@ -432,8 +432,8 @@ func RemoveTeachersDisabled(c *fiber.Ctx) error {
update_time, _ := time.Parse(time.RFC3339, time.Now().Format(time.RFC3339))
update := bson.M{
"$set": bson.M{
"Account.accountdisabled": false,
"Account.attempts": 0,
"account.accountdisabled": false,
"account.attempts": 0,
"updated_at": update_time,
},
}