Skip to content

Commit

Permalink
Fixes #25
Browse files Browse the repository at this point in the history
  • Loading branch information
turulix committed Jul 17, 2023
1 parent 1df53e1 commit 2b7ff9e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,12 @@ jobs:
rustup default nightly
- name: Run Tests
env:
RUST_TEST_TIME_UNIT: 60000,120000
RUST_TEST_TIME_INTEGRATION: 60000,120000
RUST_TEST_TIME_DOCTEST: 60000,120000
run: |
cargo test --workspace --all-targets --all-features
cargo test --workspace --all-targets --all-features --ensure-time --report-time
check_format:
name: check (format)
Expand Down Expand Up @@ -111,5 +115,5 @@ jobs:
- name: Check lint
env:
RUSTDOCFLAGS: -D warnings
RUSTDOCFLAGS: -D warnings
run: cargo doc --workspace --all-features
8 changes: 7 additions & 1 deletion memphis/src/memphis_client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,13 @@ impl MemphisClient {
}
}

pub async fn send_notification(&self, notification_type: MemphisNotificationType, title: &str, message: &str, code: &str) -> Result<(), RequestError> {
pub(crate) async fn send_notification(
&self,
notification_type: MemphisNotificationType,
title: &str,
message: &str,
code: &str,
) -> Result<(), RequestError> {
let req = NotificationRequest {
title,
msg: message,
Expand Down

0 comments on commit 2b7ff9e

Please sign in to comment.