fix wrong log message
This commit is contained in:
@@ -15,7 +15,7 @@ type counter struct {
|
|||||||
|
|
||||||
func (a *APIHandler) GetReport(c *gin.Context) {
|
func (a *APIHandler) GetReport(c *gin.Context) {
|
||||||
if !a.DBHandlerIsInitialized() {
|
if !a.DBHandlerIsInitialized() {
|
||||||
a.logger.Error("DeleteEvent", "database handler is not initialized")
|
a.logger.Error("GetReport", "database handler is not initialized")
|
||||||
c.JSON(http.StatusInternalServerError, nil)
|
c.JSON(http.StatusInternalServerError, nil)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user