add delete

This commit is contained in:
2023-06-24 13:03:58 -04:00
parent a64fcfb096
commit 99182e5cda
6 changed files with 203 additions and 19 deletions

View File

@@ -43,6 +43,7 @@ func main() {
jokes.Use(c.AuthMiddleware([]string{"rw-jokes"}, c.Cfg.Groupsenv))
jokes.POST("dadjoke", c.PostDadJoke)
jokes.DELETE("dadjoke", c.DeleteDadJoke)
}
openai := v1.Group("/openai")
{