aboutsummaryrefslogtreecommitdiff
path: root/src/models/properties.rs
diff options
context:
space:
mode:
authorGravatar Mark Cola <mark@doomsdaytuna.com> 2023-02-26 03:08:54 +1100
committerGravatar GitHub <noreply@github.com> 2023-02-25 08:08:54 -0800
commit1ba9846bad1d5c927e0d7658a59097992ef56b60 (patch)
treec1466c8e6ffc7162c864ff2a6e7c34c512e3c8f4 /src/models/properties.rs
parent97764fb864ae1ab6046749fe5cabe00f508b0c61 (diff)
downloadnotion-1ba9846bad1d5c927e0d7658a59097992ef56b60.tar.gz
notion-1ba9846bad1d5c927e0d7658a59097992ef56b60.tar.zst
notion-1ba9846bad1d5c927e0d7658a59097992ef56b60.zip
Add new CreateBlock children to page creation (#49)
* extract block to mod * add CreateBlock struct, implement Into<CreateBlock> for Block, and add children to PageCreateRequest * move tests into block mod and fix up use
Diffstat (limited to 'src/models/properties.rs')
-rw-r--r--src/models/properties.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/properties.rs b/src/models/properties.rs
index fcead03..918eed6 100644
--- a/src/models/properties.rs
+++ b/src/models/properties.rs
@@ -1,8 +1,8 @@
use crate::models::text::RichText;
use crate::models::users::User;
-use super::{DateTime, Number, Utc};
use crate::ids::{DatabaseId, PageId, PropertyId};
+use crate::models::{DateTime, Number, Utc};
use chrono::NaiveDate;
use serde::{Deserialize, Serialize};