Skip to content

Commit

Permalink
fix: login failed
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanna-Neko committed Dec 14, 2022
1 parent 3e6c384 commit 28aa191
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"github.com/spf13/cobra"
)

const VERSION = "v1.2.10"
const VERSION = "v1.2.11"

func init() {
rootCmd.AddCommand(versionCmd)
Expand Down
4 changes: 4 additions & 0 deletions link/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,10 @@ func loginAgain() {
if err != nil {
log.Fatal(err)
}
res, err = me.R().Get(codeforcesDomain)
if err != nil {
log.Fatal(err)
}
doc, err := goquery.NewDocumentFromReader(bytes.NewReader(res.Body()))
if err != nil {
log.Fatal(err)
Expand Down

0 comments on commit 28aa191

Please sign in to comment.