From 60eb2e7fe5ed3627ad4bd40286df1741529da75b Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Thu, 25 Jan 2024 02:47:26 -0500 Subject: update hooks to more identifiable names, update migrations to work with votes, use a common enum state type --- src/post/routes.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/post/routes.go') diff --git a/src/post/routes.go b/src/post/routes.go index 7714920..9726d05 100644 --- a/src/post/routes.go +++ b/src/post/routes.go @@ -14,6 +14,10 @@ import ( "gitlab.com/alexkavon/newsstand/src/sessions" ) +func init() { + InitInsertHooks() +} + var Routes = server.Routes{ server.Route{ Name: "Create", -- cgit v1.2.3