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

pull/327/head
Kenix 2022-06-20 13:26:13 -04:00
parent 727c6268b9
commit 7de7e0de12
1 changed files with 1 additions and 1 deletions

View File

@ -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 == "" {