Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Apr 4, 2024
1 parent 4fe8516 commit a50e5c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions ee/tabby-webserver/src/schema/repository.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@


use async_trait::async_trait;
use juniper::{GraphQLObject, ID};
use juniper_axum::relay::NodeType;

use validator::Validate;

use super::{Context, Result};
Expand Down
3 changes: 2 additions & 1 deletion ee/tabby-webserver/src/service/repository.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ impl RepositoryService for DbConn {
}

async fn update_repository(&self, id: &ID, name: String, git_url: String) -> Result<bool> {
self.update_repository(id.as_rowid()? as i64, name, git_url).await?;
self.update_repository(id.as_rowid()? as i64, name, git_url)
.await?;
Ok(true)
}

Expand Down

0 comments on commit a50e5c7

Please sign in to comment.