From 1c22088640e5deeadd61017bd90920b652685b5f Mon Sep 17 00:00:00 2001 From: Jake Swenson Date: Sun, 29 Aug 2021 12:59:04 -0700 Subject: Notion API Version 2021-08-16 support; fix a bunch of modling errors as well --- examples/todo/main.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/todo/main.rs') 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 #[derive(Clap)] -#[clap(version = "1.0", author = "Kevin K. ")] +#[clap(version = "1.0", author = "Jake Swenson")] struct Opts { #[clap(subcommand)] command: SubCommand, -- cgit v1.2.3