diff --git a/cmd/litefs-example/main.go b/cmd/litefs-example/main.go index d793ef6..0d37913 100644 --- a/cmd/litefs-example/main.go +++ b/cmd/litefs-example/main.go @@ -159,7 +159,7 @@ func handleGenerate(w http.ResponseWriter, r *http.Request) { Company: gofakeit.Company(), } if _, err := db.ExecContext(r.Context(), `INSERT INTO persons (name, phone, company) VALUES (?, ?, ?)`, person.Name, person.Phone, person.Company); err != nil { - http.Error(w, "Method not alllowed", http.StatusMethodNotAllowed) + http.Error(w, "Method not allowed", http.StatusMethodNotAllowed) return }