Skip to content

Commit

Permalink
fixed a linting issue
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jul 28, 2024
1 parent 80d8517 commit c3a37d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/main-api/src/setup/transportation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub async fn setup(pool: &sqlx::PgPool) -> Result<(), crate::BoxedError> {
let mut tx = pool.begin().await?;
clean(&mut tx).await?;
for transportation in transportations {
if transportation.name.is_empty() {
if transportation.name.is_empty() {
continue;
}
transportation.store(&mut tx).await?;
Expand Down

0 comments on commit c3a37d2

Please sign in to comment.