Skip to content

Commit

Permalink
Merge pull request #22 from ryandeivert/ryandeivert-fix-bug
Browse files Browse the repository at this point in the history
fixing bug with New function
  • Loading branch information
yawn authored Jun 13, 2024
2 parents 08ac73f + c50b68f commit a3bc6a0
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 a3bc6a0

Please sign in to comment.