Przeglądaj źródła

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

Fix typo in ActiveQuotaScan json annotations
drakkan 6 lat temu
rodzic
commit
e0a550b216
1 zmienionych plików z 1 dodań i 1 usunięć
  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
 // ActiveQuotaScan username and start data for a quota scan
 type ActiveQuotaScan struct {
 type ActiveQuotaScan struct {
-	Username  string `json:"usernane"`
+	Username  string `json:"username"`
 	StartTime int64  `json:"start_time"`
 	StartTime int64  `json:"start_time"`
 }
 }