aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 46c3358..dca0158 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -180,7 +180,10 @@ impl NotionApi {
}
/// Creates a new page and return the created page
- pub async fn create_page<T: Into<PageCreateRequest>>(&self, page: T) -> Result<Page, Error> {
+ pub async fn create_page<T: Into<PageCreateRequest>>(
+ &self,
+ page: T,
+ ) -> Result<Page, Error> {
let result = self
.make_json_request(
self.client