+4
-4
lines changedFilter options
+4
-4
lines changed Original file line number Diff line number Diff line change
@@ -60,8 +60,8 @@ type AddRequest struct {
60
60
PEM string `json:"pem"`
61
61
IssuedAt *time.Time `json:"issued_at"`
62
62
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"`
65
65
CommonName string `json:"common_name"`
66
66
}
67
67
@@ -163,8 +163,8 @@ func (h *Handler) Handle(w http.ResponseWriter, r *http.Request) error {
163
163
PEM: req.PEM,
164
164
IssuedAt: req.IssuedAt,
165
165
NotBefore: req.NotBefore,
166
-
MetadataJSON: req.MetadataJson,
167
-
SANsJSON: req.SansJson,
166
+
MetadataJSON: req.MetadataJSON,
167
+
SANsJSON: req.SansJSON,
168
168
CommonName: sql.NullString{String: req.CommonName, Valid: req.CommonName != ""},
169
169
}
170
170
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4