Skip to content

Commit

Permalink
chore: removed unneeded trait
Browse files Browse the repository at this point in the history
  • Loading branch information
Mercurial committed Apr 16, 2024
1 parent 20e23d4 commit 9a67ca6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions backend/src/main.rs
Expand Up @@ -105,7 +105,6 @@ pub enum PositionalInterface {
RewardPot(RewardPot),
}

#[derive(sqlx::FromRow, Debug)]
struct MapObjectRecord {
id: String,
fuel: Option<i32>,
Expand Down Expand Up @@ -371,7 +370,7 @@ async fn graphql_request(schema: &State<AsteriaSchema>, request: Request) -> Res
#[launch]
async fn rocket() -> _ {
dotenv().ok();

let database_url =
env::var("DATABASE_URL").expect("DATABASE_URL must be set in the environment");

Expand Down

0 comments on commit 9a67ca6

Please sign in to comment.