Skip to content

Commit

Permalink
rust clippy updated
Browse files Browse the repository at this point in the history
  • Loading branch information
indpurvesh committed Nov 16, 2024
1 parent 3cc8be9 commit 549f8d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@

name: rust-clippy analyze

on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '15 3 * * 6'
on: [push, pull_request]

jobs:
rust-clippy-analyze:
Expand Down
2 changes: 1 addition & 1 deletion src/api/handlers/asset/rename_asset_api_handler.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ pub async fn rename_asset_api_handler(

return Err(Error::BadRequest(error_response));
}

let asset_model = state.asset_service
.find_by_id(&state.db, &asset_id)
.await?;
Expand Down

0 comments on commit 549f8d4

Please sign in to comment.