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:
@ -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)
|
||||||
|
Reference in New Issue
Block a user