Skip to content

Commit

Permalink
Change public API to have response module
Browse files Browse the repository at this point in the history
  • Loading branch information
jutuon committed May 26, 2024
1 parent ee10da1 commit c8d2713
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 5 additions & 3 deletions src/client/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub(crate) mod response;
pub mod response;

mod oauth;

Expand All @@ -9,9 +9,11 @@ use reqwest::header::RETRY_AFTER;

use crate::client::response::FcmResponse;
use crate::message::{Message, MessageWrapper};
use crate::RetryAfter;

use self::oauth::OauthClient;
use self::{
oauth::OauthClient,
response::RetryAfter,
};

pub use self::oauth::OauthError;

Expand Down
1 change: 0 additions & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,4 @@ pub(crate) mod apns;
pub(crate) mod web;

mod client;
pub use crate::client::response::*;
pub use crate::client::*;

0 comments on commit c8d2713

Please sign in to comment.