Skip to content
This repository has been archived by the owner on Mar 18, 2023. It is now read-only.

Commit

Permalink
🚑 GitHub: fix the permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
eigenein committed Sep 7, 2022
1 parent 07e58d8 commit 371d501
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,9 @@ jobs:
StrictHostKeyChecking no
- name: Rsync
run: rsync -avz blitz-dashboard.aarch64-unknown-linux-gnu yastatist:/home/pi/bin/blitz-dashboard
run: |
chmod +x blitz-dashboard.aarch64-unknown-linux-gnu
rsync -avz blitz-dashboard.aarch64-unknown-linux-gnu yastatist:/home/pi/bin/blitz-dashboard
- name: Restart Web
run: |
Expand Down
4 changes: 2 additions & 2 deletions src/database/mongodb/traits.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ pub trait TypedDocument: 'static + Sized + Send + Sync + DeserializeOwned + Unpi
Self::collection(in_)
.find(filter, options)
.await
.map_err(|error| anyhow!("failed to search in `{}`: {}", Self::NAME, error))?
.map_err(|error| anyhow!("failed to search in `{}`: {:#}", Self::NAME, error))?
.try_collect()
.await
.map_err(|error| anyhow!("failed to collect from `{}`: {}", Self::NAME, error))
.map_err(|error| anyhow!("failed to collect from `{}`: {:#}", Self::NAME, error))
}
}

Expand Down

0 comments on commit 371d501

Please sign in to comment.