feat: made pages & blocks public
This commit is contained in:
parent
595e62509b
commit
fe89272ba5
|
@ -77,8 +77,8 @@ fn get_http_client(notion_api_key: &str) -> reqwest::Client {
|
||||||
#[allow(unused)]
|
#[allow(unused)]
|
||||||
pub struct Client {
|
pub struct Client {
|
||||||
http_client: Rc<reqwest::Client>,
|
http_client: Rc<reqwest::Client>,
|
||||||
pages: Pages,
|
pub pages: Pages,
|
||||||
blocks: Blocks
|
pub blocks: Blocks
|
||||||
}
|
}
|
||||||
|
|
||||||
use std::rc::Rc;
|
use std::rc::Rc;
|
||||||
|
|
Loading…
Reference in a new issue