2024-12-29-fixes #12

Merged
Teajey merged 3 commits from 2024-12-29-fixes into main 2024-12-29 20:43:32 +13:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 8a1fef487a - Show all commits

View File

@ -80,7 +80,7 @@ func GetAllGroups() ([]Group, error) {
}
func CreateGroup(name string, reference string) (*Group, error) {
name = normalize.Name(name)
name = normalize.Trim(name)
stmt := "INSERT INTO [group] (name, reference) VALUES (?, ?)"
result, err := database.Exec(stmt, name, reference)
if err != nil {