Skip to content

Commit

Permalink
ESR: Update to use the v7 model for retrieving the device types
Browse files Browse the repository at this point in the history
Change-type: patch
  • Loading branch information
thgreasi committed Oct 22, 2024
1 parent 462ee23 commit 830135e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/_esr_devices.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
// })
window.jQuery
.ajax({
url: "https://api.balena-cloud.com/v6/device_type?$select=name,slug,logo&$expand=is_of__cpu_architecture($select=slug)&$filter=is_default_for__application/any(idfa:((idfa/is_host%20eq%20true)%20and%20(idfa/is_archived%20eq%20false)%20and%20(idfa/owns__release/any(r:(status%20eq%20%27success%27)%20and%20(is_final%20eq%20true)%20and%20(is_invalidated%20eq%20false))))%20and(contains(idfa/app_name,%27-esr%27)))&$orderby=name%20asc"
url: "https://api.balena-cloud.com/v7/device_type?$select=name,slug,logo&$expand=is_of__cpu_architecture($select=slug)&$filter=is_default_for__application/any(idfa:((idfa/is_host%20eq%20true)%20and%20(idfa/is_archived%20eq%20false)%20and%20(idfa/owns__release/any(r:(status%20eq%20%27success%27)%20and%20(is_final%20eq%20true)%20and%20(is_invalidated%20eq%20false))))%20and(contains(idfa/app_name,%27-esr%27)))&$orderby=name%20asc"
})
.done(function (deviceTypesResponse) {
var table = _(deviceTypesResponse.d)
Expand Down

0 comments on commit 830135e

Please sign in to comment.