Skip to content

Commit

Permalink
import Id type
Browse files Browse the repository at this point in the history
  • Loading branch information
calebbourg committed Dec 5, 2023
1 parent d5c480b commit fc29716
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion entity_api/src/organization.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use super::error::{EntityApiErrorCode, Error};
use entity::organization;
use entity::{organization, Id};
use organization::{ActiveModel, Entity, Model};
use sea_orm::{
entity::prelude::*, ActiveValue, ActiveValue::Set, ActiveValue::Unchanged, DatabaseConnection,
Expand Down
2 changes: 1 addition & 1 deletion web/src/controller/organization_controller.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ use crate::{AppState, Error};
use axum::extract::{Path, State};
use axum::response::IntoResponse;
use axum::Json;
use entity::organization;
use entity::{organization, Id};
use entity_api::organization as OrganizationApi;
use serde_json::json;

Expand Down

0 comments on commit fc29716

Please sign in to comment.