mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-03-02 19:00:15 +01:00
🐛 未登录情况下创建数据快照失败 Fix https://github.com/siyuan-note/siyuan/issues/6448
This commit is contained in:
parent
64ccd06dd4
commit
4b46e2c3d6
4 changed files with 14 additions and 9 deletions
|
|
@ -44,3 +44,7 @@ type UserTitle struct {
|
|||
Desc string `json:"desc"`
|
||||
Icon string `json:"icon"`
|
||||
}
|
||||
|
||||
func (user *User) GetCloudRepoAvailableSize() int64 {
|
||||
return int64(user.UserSiYuanRepoSize - user.UserSiYuanAssetSize)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue