Chat ID should be int64.
This commit is contained in:
parent
e90dd53bae
commit
8c1816a3d2
2 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue