1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-15 17:50:55 +00:00

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

This commit is contained in:
Kenix 2022-06-20 13:26:13 -04:00
parent 727c6268b9
commit 7de7e0de12

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