Fixed broken AJAX call to fetch devices related to current customer