From c344fac0330afc9e297d69e97db5bf48ebe8aa66 Mon Sep 17 00:00:00 2001 From: Nathaniel Nanle Date: Mon, 16 Dec 2024 09:29:45 +0100 Subject: [PATCH 1/2] Fix: Move get_quest_users.rs to the correct directory --- Cargo.toml | 5 +++++ .../admin/{quest_boost => quest}/get_quest_users.rs | 0 src/endpoints/admin/quest/mod.rs | 1 + src/endpoints/admin/quest_boost/mod.rs | 3 +-- 4 files changed, 7 insertions(+), 2 deletions(-) rename src/endpoints/admin/{quest_boost => quest}/get_quest_users.rs (100%) diff --git a/Cargo.toml b/Cargo.toml index 3bf8e7f1..1fdf614d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,3 +33,8 @@ ctor = "0.2.6" axum-client-ip = "0.4.0" jsonwebtoken = "9" tower = "0.4.13" + + + + + diff --git a/src/endpoints/admin/quest_boost/get_quest_users.rs b/src/endpoints/admin/quest/get_quest_users.rs similarity index 100% rename from src/endpoints/admin/quest_boost/get_quest_users.rs rename to src/endpoints/admin/quest/get_quest_users.rs diff --git a/src/endpoints/admin/quest/mod.rs b/src/endpoints/admin/quest/mod.rs index 514940a8..5342953b 100644 --- a/src/endpoints/admin/quest/mod.rs +++ b/src/endpoints/admin/quest/mod.rs @@ -1,6 +1,7 @@ pub mod create_quest; mod get_quest; pub mod get_quest_participants; +pub mod get_quest_users; pub mod get_quests; pub mod get_tasks; pub mod update_quest; diff --git a/src/endpoints/admin/quest_boost/mod.rs b/src/endpoints/admin/quest_boost/mod.rs index 8daed526..21fdeda7 100644 --- a/src/endpoints/admin/quest_boost/mod.rs +++ b/src/endpoints/admin/quest_boost/mod.rs @@ -1,4 +1,3 @@ pub mod create_boost; pub mod get_boost_winners; -pub mod get_quest_users; -pub mod update_boost; \ No newline at end of file +pub mod update_boost; From fd02cd278cd8740ae5885ad9ff5cac518f0e5167 Mon Sep 17 00:00:00 2001 From: Nathaniel Nanle Date: Mon, 16 Dec 2024 12:54:53 +0100 Subject: [PATCH 2/2] removing unnecessary lines --- Cargo.toml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 1fdf614d..0cc62547 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,9 +32,4 @@ regex = "1.10.0" ctor = "0.2.6" axum-client-ip = "0.4.0" jsonwebtoken = "9" -tower = "0.4.13" - - - - - +tower = "0.4.13" \ No newline at end of file