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:
parent
e32f7422cd
commit
304d7d2d8c
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user