Skip to content

Commit

Permalink
✍️ fix new client params
Browse files Browse the repository at this point in the history
  • Loading branch information
jeankhawand committed Jul 4, 2023
1 parent ef6e6a7 commit 41fbf1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integration/notion/notion.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ type Client struct {
}

// NewClient returns a new Notion client.
func NewClient(baseURL, token string) *Client {
return &Client{baseURL, token}
func NewClient(token, pageID string) *Client {
return &Client{token, pageID}
}

func (c *Client) AddEntry(entryURL string, entryTitle string) error {
Expand Down

0 comments on commit 41fbf1e

Please sign in to comment.