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, } }