fix(browser): refresh used space after all uploads are done
This commit is contained in:
parent
8b47f2f385
commit
5eafcf884d
3 changed files with 25 additions and 20 deletions
|
@ -279,7 +279,6 @@ func (us *KVUserStore) SetPwd(id uint64, pwd string) error {
|
|||
func (us *KVUserStore) CanIncrUsed(id uint64, capacity int64) (bool, error) {
|
||||
us.mtx.Lock()
|
||||
defer us.mtx.Unlock()
|
||||
|
||||
userID := fmt.Sprint(id)
|
||||
infoStr, ok := us.store.GetStringIn(UsersNs, userID)
|
||||
if !ok {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue