Skip to content

Commit

Permalink
Trade: Add missing steamLoginSecure parameter to New function
Browse files Browse the repository at this point in the history
See #72
  • Loading branch information
Philipp15b committed Jan 20, 2016
1 parent 8e21755 commit d910c22
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions trade/trade.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ package trade

import (
"errors"
"time"

"github.com/Philipp15b/go-steam/steamid"
"github.com/Philipp15b/go-steam/trade/tradeapi"
"time"
)

const pollTimeout = time.Second
Expand All @@ -19,13 +20,13 @@ type Trade struct {
api *tradeapi.Trade
}

func New(sessionId, steamLogin string, other steamid.SteamId) *Trade {
func New(sessionId, steamLogin, steamLoginSecure string, other steamid.SteamId) *Trade {
return &Trade{
other,
false, false,
time.Unix(0, 0),
nil,
tradeapi.New(sessionId, steamLogin, other),
tradeapi.New(sessionId, steamLogin, steamLoginSecure, other),
}
}

Expand Down

0 comments on commit d910c22

Please sign in to comment.