nats
Paulo Simão 2021-10-11 15:05:01 -03:00
parent 53a53bd1ca
commit 2a9dd021e6
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ type Cli struct {
func (c *Cli) Log(l *types.Log) error { func (c *Cli) Log(l *types.Log) error {
l.Alias = c.ReplayEnvAlias() l.Alias = c.ReplayEnvAlias()
l.Dtlog = time.Now() l.Dtlog = time.Now()
return c.HttpCli().JsonPost("/api/v1/log", l, nil) return c.HttpCli().JsonPost("/api/v1/log/add", l, nil)
} }
func (c *Cli) ReplayEnvQueueId() string { func (c *Cli) ReplayEnvQueueId() string {
return os.Getenv("REPLAY_QUEUEID") return os.Getenv("REPLAY_QUEUEID")