fix: make format
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
Felipe M 2025-04-22 11:56:57 +02:00
parent 763a451251
commit c9edb57505
Signed by: fmartingr
GPG key ID: CCFBC5637D4000A8
6 changed files with 6 additions and 7 deletions

View file

@ -249,7 +249,6 @@ func (a *Admin) getFlashes(w http.ResponseWriter, r *http.Request) []FlashMessag
return messages
}
// render renders a template with the given data
func (a *Admin) render(w http.ResponseWriter, r *http.Request, templateName string, data TemplateData) {
// Add current user data
@ -708,4 +707,4 @@ func (a *Admin) handleChannelPluginDetailOrDelete(w http.ResponseWriter, r *http
// Redirect to channel plugins list
http.Redirect(w, r, "/admin/channelplugins", http.StatusSeeOther)
}
}

View file

@ -390,4 +390,4 @@ func (a *App) processReminder(reminder *model.Reminder) {
if err := a.db.MarkReminderAsProcessed(reminder.ID); err != nil {
a.logger.Error("Error marking reminder as processed", "error", err)
}
}
}

View file

@ -774,4 +774,4 @@ func initDatabase(db *sql.DB) error {
}
return nil
}
}

View file

@ -220,4 +220,4 @@ func MigrateDown(db *sql.DB, targetVersion int) error {
}
return nil
}
}

View file

@ -217,4 +217,4 @@ func parseInt64(s string) (int64, error) {
var n int64
_, err := fmt.Sscanf(s, "%d", &n)
return n, err
}
}

View file

@ -275,4 +275,4 @@ func (t *TelegramPlatform) SendMessage(msg *model.Message) error {
t.log.Debug("Message sent successfully")
return nil
}
}