Chat ID should be int64.

This commit is contained in:
Benjamin A. Shelton 2026-10-20 15:33:29 -06:00
commit 8c1816a3d2
Signed by: zancarius
GPG key ID: 8BD42DBD6C337E01
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ func (c *chats) AddChat(ctx context.Context, cmd *cli.Command) error {
logger := logging.Get("commands")
logger.SetFormat("chat add: {{message}}")
id := cmd.Int("id")
id := cmd.Int64("id")
name := cmd.String("name")
mdb := models.OpenDatabase(ctx, c.settings)