Fix id assignment

This commit is contained in:
Theodor S. Midtlien
2026-06-08 19:03:04 +02:00
parent edc60550eb
commit 0ffb9e8535

View File

@@ -167,7 +167,7 @@ func addProfileFunc(cmd *cobra.Command, args []string) error {
if err != nil {
return err
}
id = profilemanager.ID(resp.Id)
id := profilemanager.ID(resp.Id)
cmd.Printf("Profile added: %s %s\n", id.ShortID(), profilemanager.StripCtrlChars(profileName))
return nil
}