style(database): change DBQueryUsers to DBListUsers
This commit is contained in:
+1
-1
@@ -450,7 +450,7 @@ func ListUserHandler(w http.ResponseWriter, r *http.Request) {
|
||||
return
|
||||
}
|
||||
|
||||
userList, err := DBQueryUsers()
|
||||
userList, err := DBListUsers()
|
||||
if err != nil {
|
||||
SendErrorResponse(w, http.StatusInternalServerError, "Failed to list users")
|
||||
postLog.Error(fmt.Sprintf("[ListUserHandler] Failed to list users: %v", err))
|
||||
|
||||
Reference in New Issue
Block a user