diff --git a/src/endpoints/admin/quest_boost/create_boost.rs b/src/endpoints/admin/quest_boost/create_boost.rs index c959476..c79ed93 100644 --- a/src/endpoints/admin/quest_boost/create_boost.rs +++ b/src/endpoints/admin/quest_boost/create_boost.rs @@ -35,7 +35,7 @@ pub async fn handler( ) -> impl IntoResponse { let collection = state.db.collection::("boosts"); let quests_collection = state.db.collection::("quests"); - let insert_collection = state.db.collection::("quests"); + let insert_collection = state.db.collection::("tasks"); let res = verify_quest_auth(sub, &quests_collection, &(body.quest_id as i64)).await; if !res {