File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -60,8 +60,8 @@ type AddRequest struct {
6060 PEM string `json:"pem"`
6161 IssuedAt * time.Time `json:"issued_at"`
6262 NotBefore * time.Time `json:"not_before"`
63- MetadataJson types.JSONText `json:"metadata"`
64- SansJson types.JSONText `json:"sans"`
63+ MetadataJSON types.JSONText `json:"metadata"`
64+ SansJSON types.JSONText `json:"sans"`
6565 CommonName string `json:"common_name"`
6666}
6767
@@ -163,8 +163,8 @@ func (h *Handler) Handle(w http.ResponseWriter, r *http.Request) error {
163163 PEM : req .PEM ,
164164 IssuedAt : req .IssuedAt ,
165165 NotBefore : req .NotBefore ,
166- MetadataJSON : req .MetadataJson ,
167- SANsJSON : req .SansJson ,
166+ MetadataJSON : req .MetadataJSON ,
167+ SANsJSON : req .SansJSON ,
168168 CommonName : sql.NullString {String : req .CommonName , Valid : req .CommonName != "" },
169169 }
170170
You can’t perform that action at this time.
0 commit comments