Skip to content

Commit

Permalink
Fix ID Key
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks committed Dec 12, 2024
1 parent c5965a8 commit 7affa01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/src/database/mongodb_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ impl MongoService {
let update = doc! {
"$inc": { "requests": 1 },
"$setOnInsert": {
"_id": uuid::Uuid::new().to_string(),
"id": uuid::Uuid::new().to_string(),
"created_at": chrono::Utc::now().timestamp_millis(),
"banned": false
}
Expand Down

0 comments on commit 7affa01

Please sign in to comment.