diff --git a/web/routes.go b/web/routes.go index 577e15a9..5b443231 100644 --- a/web/routes.go +++ b/web/routes.go @@ -229,7 +229,7 @@ func routes(s *fibre.Fibre) { s.Delete("/key/:class", func(c *fibre.Context) error { - txt := "DELETE FROM $class" + txt := "DELETE $class" res, err := db.Execute(c, txt, map[string]interface{}{ "class": sql.NewTable(c.Param("class")),