Skip to content

Commit

Permalink
Merge branch 'master' into feat/implement_achievements
Browse files Browse the repository at this point in the history
  • Loading branch information
irisdv committed Aug 29, 2023
2 parents 5f80de1 + 41044e0 commit 495e47e
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 57 deletions.
1 change: 0 additions & 1 deletion src/endpoints/quests/example/mod.rs

This file was deleted.

42 changes: 0 additions & 42 deletions src/endpoints/quests/example/verify_quiz.rs

This file was deleted.

1 change: 0 additions & 1 deletion src/endpoints/quests/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
pub mod contract_uri;
pub mod example;
pub mod orbiter;
pub mod sithswap;
pub mod starknetid;
Expand Down
10 changes: 1 addition & 9 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ mod common;
mod config;
mod endpoints;
mod models;
use axum::{
http::StatusCode,
routing::{get, post},
Router,
};
use axum::{http::StatusCode, routing::get, Router};
use mongodb::{bson::doc, options::ClientOptions, Client};
use reqwest::{Proxy, Url};
use starknet::providers::SequencerGatewayProvider;
Expand Down Expand Up @@ -155,10 +151,6 @@ async fn main() {
"/quests/orbiter/claimable",
get(endpoints::quests::orbiter::claimable::handler),
)
.route(
"/quests/example/verify_quiz",
post(endpoints::quests::example::verify_quiz::handler),
)
.route(
"/achievements/verify_default",
get(endpoints::achievements::verify_default::handler),
Expand Down
5 changes: 1 addition & 4 deletions src/utils.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
use crate::{
endpoints::achievements,
models::{AchievementDocument, AppState, CompletedTasks},
};
use crate::models::{AchievementDocument, AppState, CompletedTasks};
use async_trait::async_trait;
use axum::{
http::StatusCode,
Expand Down

0 comments on commit 495e47e

Please sign in to comment.