diff --git a/core/api.go b/core/api.go index f7ac026..c5fcfdc 100644 --- a/core/api.go +++ b/core/api.go @@ -397,7 +397,7 @@ func (caller apiCaller) configAPI(w http.ResponseWriter, r *http.Request) error return nil } -func (caller apicaller) lockcreatecharAPI(w http.ResponseWriter, r *http.Request) error { +func (caller apiCaller) lockcreatecharAPI(w http.ResponseWriter, r *http.Request) error { mg, err := caller.mg.mongoClient.FindAll(CollectionService, bson.M{}) if err != nil { return err