1
0
mirror of https://github.com/dstotijn/go-notion.git synced 2025-06-29 00:41:34 +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" "fmt"
"io" "io"
"net/http" "net/http"
"os"
) )
const ( const (
@ -157,8 +156,6 @@ func (c *Client) CreatePage(ctx context.Context, params CreatePageParams) (page
body := &bytes.Buffer{} body := &bytes.Buffer{}
_ = json.NewEncoder(os.Stderr).Encode(params)
err = json.NewEncoder(body).Encode(params) err = json.NewEncoder(body).Encode(params)
if err != nil { if err != nil {
return Page{}, fmt.Errorf("notion: failed to encode body params to JSON: %w", err) return Page{}, fmt.Errorf("notion: failed to encode body params to JSON: %w", err)