瀏覽代碼

Merge pull request #2 from Surye/Surye-patch-1

Fix typo in ActiveQuotaScan json annotations
drakkan 6 年之前
父節點
當前提交
e0a550b216
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sftpd/sftpd.go

+ 1 - 1
sftpd/sftpd.go

@@ -41,7 +41,7 @@ type connectionTransfer struct {
 
 // ActiveQuotaScan username and start data for a quota scan
 type ActiveQuotaScan struct {
-	Username  string `json:"usernane"`
+	Username  string `json:"username"`
 	StartTime int64  `json:"start_time"`
 }