From 915a56ca392393ac8b1b2b4888074859a3db2a4a Mon Sep 17 00:00:00 2001 From: Jonny Spicer <38098411+jonnyspicer@users.noreply.github.com> Date: Thu, 14 Mar 2024 11:04:42 +0000 Subject: [PATCH] Update client.go Corrected documentation link for get block children method. --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 71c7d14..c6e5769 100644 --- a/client.go +++ b/client.go @@ -301,7 +301,7 @@ func (c *Client) UpdatePage(ctx context.Context, pageID string, params UpdatePag } // FindBlockChildrenByID returns a list of block children for a given block ID. -// See: https://developers.notion.com/reference/post-database-query +// See: https://developers.notion.com/reference/get-block-children func (c *Client) FindBlockChildrenByID(ctx context.Context, blockID string, query *PaginationQuery) (result BlockChildrenResponse, err error) { req, err := c.newRequest(ctx, http.MethodGet, fmt.Sprintf("/blocks/%v/children", blockID), nil) if err != nil {