Skip to content

Commit

Permalink
fix(tgc): first login
Browse files Browse the repository at this point in the history
  • Loading branch information
iyear committed Sep 26, 2022
1 parent 45293a9 commit 7ae63d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/internal/tgc/tgc.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func New(login bool, middlewares ...telegram.Middleware) (*telegram.Client, *kv.

mode, err := kvd.Get(key.App())
if err != nil {
return nil, nil, err
mode = []byte(consts.AppBuiltin)
}
app, ok := consts.Apps[string(mode)]
if !ok {
Expand Down

0 comments on commit 7ae63d7

Please sign in to comment.