Browse Source

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

Fix typo in ActiveQuotaScan json annotations
drakkan 6 years ago
parent
commit
e0a550b216
1 changed files with 1 additions and 1 deletions
  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"`
 }