Skip to content

Commit

Permalink
Merge pull request #297 from ryzen-xp/Fix#287-create_boost.rs
Browse files Browse the repository at this point in the history
Fix :#287 create_boost.rs
  • Loading branch information
Marchand-Nicolas authored Oct 26, 2024
2 parents 6c8c067 + 404963e commit 13db99f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/endpoints/admin/quest_boost/create_boost.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pub async fn handler(
) -> impl IntoResponse {
let collection = state.db.collection::<BoostTable>("boosts");
let quests_collection = state.db.collection::<QuestDocument>("quests");
let insert_collection = state.db.collection::<QuestTaskDocument>("quests");
let insert_collection = state.db.collection::<QuestTaskDocument>("tasks");

let res = verify_quest_auth(sub, &quests_collection, &(body.quest_id as i64)).await;
if !res {
Expand Down

0 comments on commit 13db99f

Please sign in to comment.