mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix Other Stats Access Too (#4917)
This commit is contained in:
parent
8410788e99
commit
9ee367d9e9
@ -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)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user