diff --git a/selfprivacy_api/services/service.py b/selfprivacy_api/services/service.py index b66bd19..86082aa 100644 --- a/selfprivacy_api/services/service.py +++ b/selfprivacy_api/services/service.py @@ -209,7 +209,7 @@ class Service(ABC): return root_device with utils.ReadUserData() as userdata: if userdata.get("useBinds", False): - return userdata.get(cls.get_id(), {}).get( + return userdata.get("modules", {}).get(cls.get_id(), {}).get( "location", root_device, )