Added token modal after creating site

This commit is contained in:
2026-04-06 18:22:25 +02:00
parent 38fcdbf391
commit a95c76ce7e
3 changed files with 114 additions and 5 deletions
@@ -24,7 +24,7 @@ func NewUpdateSiteHandler(envCfg *envconfig.EnvConfig, siteRepo repository.SiteR
return &UpdateSiteHandler{EnvCfg: envCfg, SiteRepo: siteRepo}
}
func (h *UpdateSiteHandler) PostUpdate(c fiber.Ctx) error {
func (h *UpdateSiteHandler) PostDeploy(c fiber.Ctx) error {
siteId := c.Query("site")
if siteId == "" {
return c.Status(400).JSON(models.APIError{