1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-02-15 13:33:24 +02:00

Remove stray log call

This commit is contained in:
David Stotijn 2021-05-15 18:06:34 +02:00
parent e32f7422cd
commit 304d7d2d8c

View File

@ -7,7 +7,6 @@ import (
"fmt"
"io"
"net/http"
"os"
)
const (
@ -157,8 +156,6 @@ func (c *Client) CreatePage(ctx context.Context, params CreatePageParams) (page
body := &bytes.Buffer{}
_ = json.NewEncoder(os.Stderr).Encode(params)
err = json.NewEncoder(body).Encode(params)
if err != nil {
return Page{}, fmt.Errorf("notion: failed to encode body params to JSON: %w", err)