From 48017d4e7ba9364ba5a99ee03d5203f0df2378ce 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, } }