Fix Other Stats Access Too (#4917)

This commit is contained in:
Nicolas Mowen 2023-01-06 05:51:58 -07:00 committed by GitHub
parent 8410788e99
commit 9ee367d9e9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -761,7 +761,7 @@ def version():
@bp.route("/stats") @bp.route("/stats")
def stats(): def stats():
stats = stats_snapshot(current_app.frigate_config, current_app.stats_tracking) stats = stats_snapshot(current_app.frigate_config, current_app.stats_tracking, [])
return jsonify(stats) return jsonify(stats)