Skip to content

Commit

Permalink
Merge pull request #84 from LayerXcom/fix/deal_id_type
Browse files Browse the repository at this point in the history
fix journalID type (int32 → int64)
  • Loading branch information
yuuis authored May 13, 2024
2 parents fb8acce + 6deccda commit 60a76f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions manual_journals.go
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ func (c *Client) CreateManualJournal(

func (c *Client) UpdateManualJournal(
ctx context.Context, oauth2Token *oauth2.Token,
journalID int32, params UpdateManualJournalParams,
journalID int64, params UpdateManualJournalParams,
) (*ManualJournalResponse, *oauth2.Token, error) {
var result ManualJournalResponse

Expand All @@ -221,7 +221,7 @@ func (c *Client) UpdateManualJournal(

func (c *Client) DestroyManualJournal(
ctx context.Context, oauth2Token *oauth2.Token,
companyID uint32, journalID int32,
companyID uint32, journalID int64,
) (*oauth2.Token, error) {
v, err := query.Values(nil)
if err != nil {
Expand Down

0 comments on commit 60a76f8

Please sign in to comment.