mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
Show admins incomplete config indicator
SMTP checks to start with.
This commit is contained in:
parent
b2cd375936
commit
80f0876b51
7 changed files with 31 additions and 4 deletions
|
@ -48,7 +48,6 @@ func (h *Handler) SMTP(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
var y map[string]interface{}
|
||||
json.Unmarshal([]byte(config), &y)
|
||||
|
||||
j, err := json.Marshal(y)
|
||||
if err != nil {
|
||||
response.WriteBadRequestError(w, method, err.Error())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue