refactor
Build / Build (push) Successful in 17s

This commit is contained in:
wt committed 2025-07-21 22:16:54 +07:00
1 parent e6526fb780
commit d5da23849f
8 files changed
+16 -46

No files matched your search

+2 -2
View File
@@ -5,8 +5,8 @@ import (
"fmt"
"net/http"
"os"
"scm/crt"
"scm/model"
"scm/utils"
)
func RootCert(w http.ResponseWriter, r *http.Request) {
@@ -25,7 +25,7 @@ func RootCert(w http.ResponseWriter, r *http.Request) {
http.Error(w, err.Error(), http.StatusBadRequest)
return
}
err = utils.CreateRootKeyCertificate(rootCertRequest)
err = crt.CreateRootKeyCertificate(rootCertRequest)
if err != nil {
http.Error(w, err.Error(), http.StatusInternalServerError)
return