Allow slack connector to answer to channel messages

This commit is contained in:
mudler
2024-04-10 20:28:15 +02:00
parent 437da44590
commit 69cbcc5c88
3 changed files with 31 additions and 9 deletions

View File

@@ -216,7 +216,7 @@ func (a *App) Delete(pool *AgentPool) func(c *fiber.Ctx) error {
fmt.Println("Error removing agent", err)
return c.Status(http.StatusInternalServerError).SendString(err.Error())
}
return c.Redirect("/")
return c.Redirect("/agents")
}
}
@@ -237,7 +237,7 @@ func (a *App) Create(pool *AgentPool) func(c *fiber.Ctx) error {
c.Status(http.StatusInternalServerError).SendString(err.Error())
return nil
}
return c.Redirect("/")
return c.Redirect("/agents")
}
}