이름 변경
This commit is contained in:
@ -464,7 +464,7 @@ func (caller apiCaller) maintenanceAPI(w http.ResponseWriter, r *http.Request) e
|
||||
caller.writeAccessableServices(w)
|
||||
}
|
||||
} else if r.Method == "POST" {
|
||||
servicename := r.FormValue("name")
|
||||
servicename := queryvals.Get("name")
|
||||
|
||||
var divs map[string]*division
|
||||
dec := json.NewDecoder(r.Body)
|
||||
|
||||
@ -160,7 +160,7 @@ const (
|
||||
)
|
||||
|
||||
type maintenance struct {
|
||||
Notice string `bson:"notice"`
|
||||
Notice string `bson:"notice" json:"notice"`
|
||||
StartTimeUTC int64 `bson:"start_unixtime_utc" json:"start_unixtime_utc"`
|
||||
link string
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user