From 7de7e0de1246752d421c977a57147ea1f3f9e474 Mon Sep 17 00:00:00 2001 From: Kenix Date: Mon, 20 Jun 2022 13:26:13 -0400 Subject: [PATCH] Adds missing colon assignment for username variable in ntfy user add command. --- cmd/user.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/user.go b/cmd/user.go index 07970fd..d4d543f 100644 --- a/cmd/user.go +++ b/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 == "" {