Skip to content

Commit

Permalink
remove rwlock
Browse files Browse the repository at this point in the history
  • Loading branch information
acedward committed Dec 18, 2024
1 parent 719161c commit 50ccec5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1609,7 +1609,7 @@ impl Node {
}

async fn v2_api_import_tool_internal(
db: Arc<RwLock<SqliteManager>>,
db: Arc<SqliteManager>,
node_env: NodeEnvironment,
url: String,
) -> Result<Value, APIError> {
Expand Down Expand Up @@ -1864,7 +1864,7 @@ impl Node {
}

pub async fn v2_api_upload_tool_asset(
db: Arc<RwLock<SqliteManager>>,
db: Arc<SqliteManager>,
bearer: String,
_tool_id: String,
app_id: String,
Expand Down Expand Up @@ -1901,7 +1901,7 @@ impl Node {
}

pub async fn v2_api_list_tool_assets(
db: Arc<RwLock<SqliteManager>>,
db: Arc<SqliteManager>,
bearer: String,
tool_id: String,
app_id: String,
Expand Down Expand Up @@ -1931,7 +1931,7 @@ impl Node {
}

pub async fn v2_api_delete_tool_asset(
db: Arc<RwLock<SqliteManager>>,
db: Arc<SqliteManager>,
bearer: String,
tool_id: String,
app_id: String,
Expand Down

0 comments on commit 50ccec5

Please sign in to comment.