From d004b8bfef30730ec3e71013551e970408ab0630 Mon Sep 17 00:00:00 2001 From: pandadiestro Date: Sun, 1 Dec 2024 19:38:28 -0500 Subject: [PATCH] jiji --- stiller-backend/internal/handlers/post_template.new.go | 1 + 1 file changed, 1 insertion(+) diff --git a/stiller-backend/internal/handlers/post_template.new.go b/stiller-backend/internal/handlers/post_template.new.go index bee296d..ff993a5 100644 --- a/stiller-backend/internal/handlers/post_template.new.go +++ b/stiller-backend/internal/handlers/post_template.new.go @@ -150,6 +150,7 @@ func PostTemplateNew(w http.ResponseWriter, r *http.Request, params httprouter.P Set("title", req_payload.Title). Set("description", req_payload.Description). Set("templatefile", templatefile_id). + Set("owner", user_id). Returning("id") newtempl_query, newtempl_args := newtempl_stmt.String(), newtempl_stmt.Args()