From 20de94cda2f9746b39712554ffd9d3ffb28cfee9 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 12 Sep 2024 11:48:36 +0200 Subject: Fix import --- src/graphql/types/alert.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/graphql') diff --git a/src/graphql/types/alert.rs b/src/graphql/types/alert.rs index 1a480c5..6be723c 100644 --- a/src/graphql/types/alert.rs +++ b/src/graphql/types/alert.rs @@ -9,6 +9,7 @@ use crate::{ }; use async_graphql::{Context, FieldResult, InputObject, SimpleObject}; use serde::{Deserialize, Serialize}; +use std::str::FromStr; #[derive(Serialize, Deserialize)] pub struct PolygonValid { @@ -131,10 +132,6 @@ pub mod query { } pub mod mutations { - use std::str::FromStr; - - use crate::graphql::types::position; - use super::*; /// Create a new alert -- cgit v1.2.3-18-g5258