fix wrong user quota type (int to int64)

This commit is contained in:
Adphi 2019-01-15 15:58:20 +01:00
parent 014a0c6653
commit 4f50c4817a
2 changed files with 5 additions and 5 deletions

View File

@ -1,11 +1,11 @@
package mocks
import mock "github.com/stretchr/testify/mock"
import types "gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud/types"
import (
"gitlab.bertha.cloud/partitio/Nextcloud-Partitio/gonextcloud/types"
)
// Client is an autogenerated mock type for the Client type
type Client struct {
mock.Mock
}
// Apps provides a mock function with given fields:

View File

@ -33,8 +33,8 @@ type UserDetails struct {
type Quota struct {
Free int64 `json:"free"`
Used int `json:"used"`
Used int64 `json:"used"`
Total int64 `json:"total"`
Relative float64 `json:"relative"`
Quota int `json:"quota"`
Quota int64 `json:"quota"`
}