This commit is contained in:
Daniel Mason 2023-05-08 23:01:35 +12:00
parent 1da4591abe
commit fcce0cfb7b
Signed by: idanoo
GPG key ID: 387387CDBC02F132
3 changed files with 4 additions and 4 deletions

View file

@ -172,8 +172,8 @@ func getUserCounts() ([]metric, error) {
}
}
if WRIETAS_DB_SCHEMA != "" {
userCount, err := runMySqlIntQuery(WRIETAS_DB_SCHEMA, WRITEAS_USER_QUERY)
if WRITEAS_DB_SCHEMA != "" {
userCount, err := runMySqlIntQuery(WRITEAS_DB_SCHEMA, WRITEAS_USER_QUERY)
if err != nil {
log.Println(err)
} else {