aboutsummaryrefslogtreecommitdiff
path: root/website.go
diff options
context:
space:
mode:
Diffstat (limited to 'website.go')
-rw-r--r--website.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/website.go b/website.go
index d0bed9c..ed39d28 100644
--- a/website.go
+++ b/website.go
@@ -55,6 +55,7 @@ func NewWebsiteIdFromBucketInfo(binfo *garage.BucketInfo) *WebsiteId {
// -----
type WebsiteDescribe struct {
+ Username string `json:"username"`
AllowedWebsites *QuotaStat `json:"quota_website_count"`
BurstBucketQuotaSize string `json:"burst_bucket_quota_size"`
Websites []*WebsiteId `json:"vhosts"`
@@ -232,6 +233,7 @@ func (w *WebsiteController) Describe() (*WebsiteDescribe, error) {
}
return &WebsiteDescribe{
+ w.User.Username,
&w.WebsiteCount,
w.User.Quota.WebsiteSizeBurstedPretty(),
r,