From 497a550fb0022f5825ad61ce6d4d5dbe6a06fde3 Mon Sep 17 00:00:00 2001 From: Jim Hodapp Date: Sat, 2 Dec 2023 14:36:19 -0600 Subject: [PATCH] Make sure the lint test passes --- entity/src/lib.rs | 2 +- entity_api/src/organization.rs | 2 +- web/src/controller/organization_controller.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/entity/src/lib.rs b/entity/src/lib.rs index dcfc578..79895d5 100644 --- a/entity/src/lib.rs +++ b/entity/src/lib.rs @@ -3,4 +3,4 @@ pub mod organization; pub mod user; /// A type alias that represents any Entity's id field data type -pub type Id = i32; \ No newline at end of file +pub type Id = i32; diff --git a/entity_api/src/organization.rs b/entity_api/src/organization.rs index e0a60c1..6a58182 100644 --- a/entity_api/src/organization.rs +++ b/entity_api/src/organization.rs @@ -1,5 +1,5 @@ use super::error::{EntityApiErrorCode, Error}; -use entity::{Id, organization}; +use entity::{organization, Id}; use organization::{ActiveModel, Entity, Model}; use sea_orm::{entity::prelude::*, ActiveValue, DatabaseConnection, TryIntoModel}; use serde_json::json; diff --git a/web/src/controller/organization_controller.rs b/web/src/controller/organization_controller.rs index 1f6c671..019c023 100644 --- a/web/src/controller/organization_controller.rs +++ b/web/src/controller/organization_controller.rs @@ -2,7 +2,7 @@ use crate::{AppState, Error}; use axum::extract::{Path, Query, State}; use axum::response::IntoResponse; use axum::Json; -use entity::{Id, organization}; +use entity::{organization, Id}; use entity_api::organization as OrganizationApi; use serde_json::json;