mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-06 00:38:49 +01:00
🐛 Fix NPE
This commit is contained in:
parent
abb5f249c8
commit
4c0af17146
1 changed files with 3 additions and 1 deletions
|
|
@ -170,7 +170,9 @@ func AutoRefreshUser() {
|
|||
|
||||
if nil != Conf.User {
|
||||
time.Sleep(3 * time.Minute)
|
||||
RefreshUser(Conf.User.UserToken)
|
||||
if nil != Conf.User {
|
||||
RefreshUser(Conf.User.UserToken)
|
||||
}
|
||||
subscriptionExpirationReminded = false
|
||||
}
|
||||
<-refreshUserTicker.C
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue