Skip to content

Commit

Permalink
fixing bug with New function
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandeivert committed Jun 7, 2024
1 parent 894685a commit c50b68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ykoath.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const (

// New initializes a new OATH session
func New() (*OATH, error) {
return NewFromSerial("")
return NewFromSerialList([]string{})
}

// NewFromSerial creates an OATH session for a specific key
Expand Down

0 comments on commit c50b68f

Please sign in to comment.