From 78da4123d77671cf731b256e8d86cfee1b330474 Mon Sep 17 00:00:00 2001 From: hanif salafi Date: Fri, 22 Nov 2024 16:20:57 +0700 Subject: [PATCH] feat: update custom static page request --- .../custom_static_pages/request/custom_static_pages.request.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/module/custom_static_pages/request/custom_static_pages.request.go b/app/module/custom_static_pages/request/custom_static_pages.request.go index 3918371..e41d41f 100644 --- a/app/module/custom_static_pages/request/custom_static_pages.request.go +++ b/app/module/custom_static_pages/request/custom_static_pages.request.go @@ -31,6 +31,7 @@ func (req CustomStaticPagesCreateRequest) ToEntity() *entity.CustomStaticPages { Description: req.Description, Slug: req.Slug, HtmlBody: req.HtmlBody, + IsActive: true, } }