mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-21 02:01:35 +00:00
Merge pull request #1426 from balena-io/fix-device-tags-endpoint
Fix device-tag fetching function
This commit is contained in:
commit
6363fd3562
@ -344,9 +344,9 @@ export class APIBinder {
|
||||
}
|
||||
const tags = (await this.balenaApi.get({
|
||||
resource: 'device_tag',
|
||||
id: deviceId,
|
||||
options: {
|
||||
$select: ['id', 'tag_key', 'value'],
|
||||
$filter: { device: deviceId },
|
||||
},
|
||||
})) as Array<Dictionary<unknown>>;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user