Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
cn-kali-team committed Dec 15, 2023
1 parent 11051dc commit ff2e5e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notion-sdk/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub struct NotionApi {
/// new a notion api client with api token
impl NotionApi {
pub fn new<T>(api_token: T) -> Result<Self, Error> where
T: Into<String>, {
T: Into<String> + std::fmt::Display, {
let mut headers = reqwest::header::HeaderMap::new();
headers.insert(
"Notion-Version",
Expand Down

0 comments on commit ff2e5e5

Please sign in to comment.