summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2024-09-07 12:24:57 +0200
committerSanto Cariotti <santo@dcariotti.me>2024-09-07 12:24:57 +0200
commitf2a94efe3e581deb18ed70ce78ad3750b771de9a (patch)
treebbe58a5967dfc89112bfaed9145b1859a045f687 /src
parente59c7d1f8eeeb6c0d237aeceb9e478c7699cae2a (diff)
Formatted
Diffstat (limited to 'src')
-rw-r--r--src/graphql/mutation.rs2
-rw-r--r--src/graphql/types/position.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/graphql/mutation.rs b/src/graphql/mutation.rs
index cef4b22..0eb4c0b 100644
--- a/src/graphql/mutation.rs
+++ b/src/graphql/mutation.rs
@@ -4,7 +4,7 @@ use crate::graphql::types::{
position,
user::{self},
};
-use async_graphql::{Context,FieldResult, Object};
+use async_graphql::{Context, FieldResult, Object};
/// Mutation struct
pub struct Mutation;
diff --git a/src/graphql/types/position.rs b/src/graphql/types/position.rs
index 4332a17..a06af6c 100644
--- a/src/graphql/types/position.rs
+++ b/src/graphql/types/position.rs
@@ -1,5 +1,5 @@
use crate::{graphql::types::jwt::Authentication, state::AppState};
-use async_graphql::{Context, Enum,FieldResult, InputObject, SimpleObject};
+use async_graphql::{Context, Enum, FieldResult, InputObject, SimpleObject};
use serde::{Deserialize, Serialize};
use std::error::Error;
use tokio_postgres::types::{to_sql_checked, FromSql, IsNull, ToSql, Type};