Przeglądaj źródła

Adds missing colon assignment for username variable in ntfy user add command.

Kenix 3 lat temu
rodzic
commit
7de7e0de12
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      cmd/user.go

+ 1 - 1
cmd/user.go

@@ -137,7 +137,7 @@ Examples:
 }
 
 func execUserAdd(c *cli.Context) error {
-	username = c.Args().Get(0)
+	username := c.Args().Get(0)
 	role := auth.Role(c.String("role"))
 	password := c.String("user")
 	if username == "" {