Skip to content

Commit

Permalink
Merge branch 'main' into improve/testing
Browse files Browse the repository at this point in the history
  • Loading branch information
b3ngg authored Feb 8, 2024
2 parents e5f4729 + ab19ec1 commit 7efa1b2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ impl NotionApi {
/// List all the databases shared with the supplied integration token.
/// Because of the deprecation of the original endpoint this just calls
/// [search()](Self::search()) with a filter on databases
#[deprecated(
note = "This method is deprecated. Please use `search()` with a filter on databases instead."
)]
pub async fn list_databases(&self) -> Result<ListResponse<Database>, Error> {
self.search(NotionSearch::filter_by_databases())
.await
Expand Down

0 comments on commit 7efa1b2

Please # to comment.