Skip to content

Commit

Permalink
show is_private status on devices for all users
Browse files Browse the repository at this point in the history
  • Loading branch information
timcowlishaw committed Sep 10, 2024
1 parent d558333 commit 24d1925
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/device.rb
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ def update_component_timestamps(timestamp, sensor_ids)

def data_policy(authorized=false)
{
is_private: authorized ? is_private : "[FILTERED]",
is_private: is_private,
enable_forwarding: authorized ? enable_forwarding : "[FILTERED]",
precise_location: authorized ? precise_location : "[FILTERED]"
}
Expand Down

0 comments on commit 24d1925

Please sign in to comment.