forked from Github/frigate
Fix Other Stats Access Too (#4917)
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user