mirror of https://github.com/gophish/gophish
Changed to indent JSON
Changed default username to admin (instead of jordan)pull/24/head
parent
c60b9d584b
commit
6802fe6800
|
@ -36,7 +36,7 @@ func API_Campaigns(w http.ResponseWriter, r *http.Request) {
|
|||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
d, err := json.Marshal(cs)
|
||||
d, err := json.MarshalIndent(cs, "", " ")
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue