aboutsummaryrefslogtreecommitdiff
path: root/examples/todo/main.rs
diff options
context:
space:
mode:
authorGravatar Jake Swenson <jake@jakeswenson.com> 2021-08-29 12:59:04 -0700
committerGravatar Jake Swenson <jake@jakeswenson.com> 2021-08-29 12:59:04 -0700
commit1c22088640e5deeadd61017bd90920b652685b5f (patch)
tree59d110a7c8792c39e0c1ea180fa972eee1c4662d /examples/todo/main.rs
parent8d5779a661f4537ef7d87a44bdfbf240eb054ff1 (diff)
downloadnotion-1c22088640e5deeadd61017bd90920b652685b5f.tar.gz
notion-1c22088640e5deeadd61017bd90920b652685b5f.tar.zst
notion-1c22088640e5deeadd61017bd90920b652685b5f.zip
Notion API Version 2021-08-16 support; fix a bunch of modling errors as well
Diffstat (limited to 'examples/todo/main.rs')
-rw-r--r--examples/todo/main.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/todo/main.rs b/examples/todo/main.rs
index 2283549..3a01af3 100644
--- a/examples/todo/main.rs
+++ b/examples/todo/main.rs
@@ -2,13 +2,13 @@ mod commands;
use anyhow::{Context, Result};
use clap::Clap;
-use notion::models::DatabaseId;
+use notion::ids::DatabaseId;
use notion::NotionApi;
use serde::{Deserialize, Serialize};
-// https://docs.rs/clap/3.0.0-beta.2/clap/
+// From <https://docs.rs/clap/3.0.0-beta.2/clap/>
#[derive(Clap)]
-#[clap(version = "1.0", author = "Kevin K. <kbknapp@gmail.com>")]
+#[clap(version = "1.0", author = "Jake Swenson")]
struct Opts {
#[clap(subcommand)]
command: SubCommand,